Pergunta

I'm new to CAKEPHP . I copied the files from the server and imported to localhost. The css and images didnt loaded. I uncommented the Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’)); and now website is displaying but the url includes index.php.

Foi útil?

Solução

1) open " mod_rewrite " from apache server.

2) comment " Configure::write('App.baseUrl', env('SCRIPT_NAME')); " this line from /confige/core.php

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top