summaryrefslogtreecommitdiff
path: root/ext/spl/examples/autoload.inc
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-12-06 19:03:17 +0000
committerMarcus Boerger <helly@php.net>2003-12-06 19:03:17 +0000
commit8e188f9d038de465eed9ba2bac5881939860ad56 (patch)
tree9d6c5e66d81b1b11bee0303c270f5758a299c99c /ext/spl/examples/autoload.inc
parent8a8deee8a01956bc276f91a8fd5f9561691891a9 (diff)
downloadphp-git-8e188f9d038de465eed9ba2bac5881939860ad56.tar.gz
Update examples
Diffstat (limited to 'ext/spl/examples/autoload.inc')
-rwxr-xr-xext/spl/examples/autoload.inc4
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