Sunday, 15 March 2015

php - Google App Engine having issues with __autoload -



php - Google App Engine having issues with __autoload -

yesterday started developing on google app engine platform first time. after running minor newbie issues resolve using documentation, seem have run trickier one. reason next __autoload function doesn't work when run in gae sandbox.

function __autoload($classname) { if(file_exists('system/core/'.$classname.'.php')) { include('system/core/'.$classname.'.php'); } else { echo 'the class "'.$classname.'" not found!'; } }

the file exist , when utilize normal lamp stack has no issues. have experience this?

php google-app-engine autoload

No comments:

Post a Comment