__autoload helper class

/ Published in: PHP
Save to your folder(s)

You know how to use it when you see the code, very simple. Just use files() method.

function __autoload($class)
$files = fuselogic_autoload::files($class);
foreach($files as $file)
if(@include_once($file)) break;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.