Pluf Framework

Sign in or create your account | Project List | Help

Issue 188: With open_basedir restricitons file_exists may warn and the __autoload fail

Reported by Julien Roncaglia, Apr 14, 2009

When the open_basedir restriction is in effect the include_path may 
contain paths where file_exists display a warning if they are 
accessed, this warning stops immediatly the __autoload execution.

The solution is to call file_exists suppressing warnings with @ in 
Pluf::fileExists.

Comment 1 by Julien Roncaglia, May 15, 2009

Patch for this annoying issue.

Comment 2 by Jakub Vitak, Nov 20, 2009

probably not necessary

please see http://www.php.net/releases/5_3_1.php

Comment 3 by Jakub Vitak, Nov 20, 2009

ok, sorry - need to read three times (if two time is not enough)

php bug #50063 is about safe mode :-/

(but maybe there could be ticket for php - maybe :))

Created: 1 year 4 months ago by Julien Roncaglia

Updated: 9 months 20 days ago

Status: New

Followed by: 1 person

Labels:
Priority:Medium
Type:Defect