Question

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.

Was it helpful?

Solution

1) open " mod_rewrite " from apache server.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top