0

I have a Joomla 2.5 project hosted on a domain mywebsite.com and all was working fine. But when I want to work on it in my local machine, Joomla keeps loading CSS and Javascript from mywebsite.com. I tried to clear the cache and make a global research on the project for something hard coded, but I haven't found the solution. This how I include Javascript:

$document->addScript('media/system/js/jquery.min.js');

Could someone tell me what is wrong?

4

2 回答 2

0

Have you checked your config file and made sure your base path hasn't been hardcoded anywhere?

于 2012-09-12T11:08:23.060 回答
0

Ryan 建议您查看 configuration.php,这是一个很好的建议。

于 2012-09-13T14:20:16.897 回答