开发者

without modrewrite, but with index.php, still broken things

I read about using xdebug with cakephp. I renamed three .htaccess files, one in /, one in /app, one in /app/webroot, then uncommented Configure::write('App.baseUrl', env('SCRIPT_NAME')); in app/config/core.php, then typed index.php before controller name, but css broke and a captcha fonts folder broke too. Inserting /app/webroot after /projects/iloved in the default layout's css url fixes css, but it may be breaking other things, because the captcha fonts folder is still broken. If I have to change from using modwrite to usin开发者_运维问答g index.php, what should I do to have urls that work?


Use Cakephp's html helper to build your CSS links. If you are not using mod rewrite, your css links should be

<link rel="stylesheet" type="text/css" href="/projects/iloved/app/webroot/css/cake.generic.css" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜