Documentation is available at core_header.php
- <?php
- $root = rtrim( $_SERVER['DOCUMENT_ROOT'], '/' ).'/pi/';
- $coreHeaderLoc = $root.'Core_Resources/Includes/';
- //hack: this is to make sure that extended classes are included before derived classes
- include_once 'Includes/class_base.php';
- //include files in the folder
- $includeArray = array();
- if ($handle = opendir($coreHeaderLoc)) {
- while (false !== ($file = readdir($handle))) {
- $path_parts = pathinfo($file);
- if ($file != "." && $file != ".." && ( $path_parts['extension'] == "php" ) ) {
- //echo $file.'<br>';
- $includeArray[] = $file;
- }
- }
- closedir($handle);
- }
- if( count($includeArray) ) {
- foreach( $includeArray as $include ) {
- //helloecho $coreHeaderLoc.$include."<br>";
- include_once $coreHeaderLoc.$include;
- }
- }
- //include downstream headers
- include_once $root."Modules/system_beta_1/system_header.php";
- ?>
Documentation generated on Tue, 24 May 2005 03:57:48 -0400 by phpDocumentor 1.3.0RC3