Welcome Guest, Not a member yet? Register   Sign In
PHP not dying on missing folder
#1

[eluser]zdknudsen[/eluser]
Is it by any means possible to have this not fail if the controllers folder is missing? I want to route it to another folder but since the "missingfolder" is missing, settings $variable to "../existingfolder" will fail. So can I somehow (using only the variable), have this not fail?

include('pathto/missingfolder/'.$variable);




Theme © iAndrew 2016 - Forum software by © MyBB