Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/php53/usr/share/pear/ezc/Base/ |
Upload File : |
<?php /** * Include file that can be used for a quick setup of the eZ Components. * * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License * @version 1.8 * @filesource * @package Base * @access private */ $dir = dirname( __FILE__ ); $dirParts = explode( DIRECTORY_SEPARATOR, $dir ); if ( $dirParts[count( $dirParts ) - 1] === 'src' ) { $baseDir = join( DIRECTORY_SEPARATOR, array_slice( $dirParts, 0, -2 ) ); require $baseDir . '/Base/src/base.php'; // svn, bundle } else if ( $dirParts[count( $dirParts ) - 2] === 'ezc' ) { $baseDir = join( DIRECTORY_SEPARATOR, array_slice( $dirParts, 0, -2 ) ); require $baseDir . '/ezc/Base/base.php'; // pear } else { die( "Your environment isn't properly set-up. Please refer to the eZ components documentation at http://components.ez.no/doc ." ); } /** * Implements the __autoload mechanism for PHP - which can only be done once * per request. * * @param string $className The name of the class that should be loaded. */ function __autoload( $className ) { ezcBase::autoload( $className ); } ?>