PHP Kohana include problem -
i dealing strange , rather simple problem 2 days now. bet solutions obvious dont know else do.
i working in kohana framework. in c:/wamp/www folder have 2 different sites: mysite1 , mysite2.
so have fckeditor working in mysite1 site included this:
include(url::base(false)."static/scripts/fckeditor/fckeditor.php"); -> include(mysite/web/admin/static/scripts/fckeditor/fckeditor.php)
and works charm!
well decided incorporate fckeditor in mysite2, , use same command.. , not work , there erro message:
no such file or directory..
i assure fckeditor exists in
mysite2/web/admin/static/scripts/fckeditor/fckeditor.php
the full path (c:/wamp/www/mysite2/web/admin/static/scripts/fckeditor/fckeditor.php ) path include works. want include(url::base(false)."static/scripts/fckeditor/fckeditor.php") working...
what possibly wrong??
thanks!
if full path works fine, path using url helper doesn't work, it's site configuration error.
do of includes using url::base
work?
looking @ output of page, url::base(false)."static/scripts/fckeditor/fckeditor.php"
evaluate to?
take @ config.php, make sure site_domain set properly.
Comments
Post a Comment