diff options
author | Marcus Boerger <helly@php.net> | 2003-12-04 19:39:46 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-12-04 19:39:46 +0000 |
commit | f679b5c935f713854a14f00370d4d832a4850b56 (patch) | |
tree | 2be7a10dbb7a38db90411d8c67f7c799023ca3ad /ext/spl/examples/autoload.inc | |
parent | 2216eb4511c20fd0315c7217d90027b32255b2f4 (diff) | |
download | php-git-f679b5c935f713854a14f00370d4d832a4850b56.tar.gz |
Update documentation
Diffstat (limited to 'ext/spl/examples/autoload.inc')
-rwxr-xr-x | ext/spl/examples/autoload.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/spl/examples/autoload.inc b/ext/spl/examples/autoload.inc new file mode 100755 index 0000000000..632ab8e4e8 --- /dev/null +++ b/ext/spl/examples/autoload.inc @@ -0,0 +1,7 @@ +<?php + +function __autoload($file) { + require_once(dirname($_SERVER['PATH_TRANSLATED']).'/'.strtolower($file).'.inc'); +} + +?>
\ No newline at end of file |