diff options
author | Marcus Boerger <helly@php.net> | 2003-12-06 19:03:17 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-12-06 19:03:17 +0000 |
commit | 8e188f9d038de465eed9ba2bac5881939860ad56 (patch) | |
tree | 9d6c5e66d81b1b11bee0303c270f5758a299c99c /ext/spl/examples/autoload.inc | |
parent | 8a8deee8a01956bc276f91a8fd5f9561691891a9 (diff) | |
download | php-git-8e188f9d038de465eed9ba2bac5881939860ad56.tar.gz |
Update examples
Diffstat (limited to 'ext/spl/examples/autoload.inc')
-rwxr-xr-x | ext/spl/examples/autoload.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/examples/autoload.inc b/ext/spl/examples/autoload.inc index 632ab8e4e8..34072f8e4a 100755 --- a/ext/spl/examples/autoload.inc +++ b/ext/spl/examples/autoload.inc @@ -1,7 +1,7 @@ <?php -function __autoload($file) { - require_once(dirname($_SERVER['PATH_TRANSLATED']).'/'.strtolower($file).'.inc'); +function __autoload($classname) { + require_once(dirname($_SERVER['PATH_TRANSLATED']).'/'.strtolower($classname).'.inc'); } ?>
\ No newline at end of file |