<?php $dir = dirname( __FILE__ ); $dirParts = explode( DIRECTORY_SEPARATOR, $dir ); switch ( $dirParts[count( $dirParts ) - 3] ) { case 'doc': require_once 'ezc/Base/base.php'; break; // pear case 'trunk': require_once "$dir/../../Base/src/base.php"; break; // svn default: require_once "$dir/../../Base/src/base.php"; break; // bundle } /** * Autoload ezc classes * * @param string $className */ function __autoload( $className ) { ezcBase::autoload( $className ); } ?>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
repos | Folder | 0755 |
|
|
CREDITS | File | 229 B | 0644 |
|
LICENSE | File | 1.53 KB | 0644 |
|
tutorial.txt | File | 8.59 KB | 0644 |
|
tutorial_autoload.php | File | 495 B | 0644 |
|
tutorial_example_01.php | File | 215 B | 0644 |
|
tutorial_example_02.php | File | 189 B | 0644 |
|
tutorial_example_03.php | File | 107 B | 0644 |
|
tutorial_example_04.php | File | 1.39 KB | 0644 |
|
tutorial_lazy_initialization.php | File | 914 B | 0644 |
|