![]() |
if require_once else
Is there a way to do an IF ELSE statement with require_once?
|
oh wait, I figured it out... doh!
you use !require_once |
Hehe, self discovery feels good sometimes. but yeah, requre_once does return values to test logic on.
|
Yea, best to do an if (file_exists($filename)) to make sure before the require.
|
| All times are GMT. The time now is 10:37 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0