php-src/ext/spl/examples/autoload.inc
2003-12-04 19:39:46 +00:00

7 lines
No EOL
123 B
PHP
Executable file

<?php
function __autoload($file) {
require_once(dirname($_SERVER['PATH_TRANSLATED']).'/'.strtolower($file).'.inc');
}
?>