Hi Exciton,

>  When my include_path contains something outside open_basedir set in
>  php.ini
>  (and it does; PEAR for example) I get warnings from
>  file_exists($fullPath)
>  in fileExistsInPath() in cake\basics.php. Adding @ to
>  file_exists($fullPath)
>  in the above function helps. Would be nice if someone took care of
>  this in the
>  next release.

I've got around this in the past by removing the inclusion of the
server's include path, so only cake's paths are used, eg:

change:

ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT
. DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'));

to:

ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT
. DS . APP_DIR . DS);

hth

jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to