PHP 8.2.30
Preview: ezc_bootstrap.php Size: 1.12 KB
/proc/self/root/opt/cloudlinux/alt-php53/root/usr/share/pear/ezc/Base/ezc_bootstrap.php

<?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 );
}
?>

Directory Contents

Dirs: 5 × Files: 9

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:55:03
Edit Download
- drwxr-xr-x 2024-03-03 22:55:03
Edit Download
metadata DIR
- drwxr-xr-x 2024-03-03 22:55:03
Edit Download
options DIR
- drwxr-xr-x 2024-03-03 22:55:03
Edit Download
structs DIR
- drwxr-xr-x 2024-03-03 22:55:03
Edit Download
21.70 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
3.08 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
1.12 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
10.90 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
17.33 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
4.07 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
3.43 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
5.23 KB lrw-r--r-- 2019-12-18 11:15:09
Edit Download
820 B lrw-r--r-- 2019-12-18 11:15:09
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).