$iCount = 0;$path = "";while( file_exists( $path . "generator/generator.php" ) != true and $iCount < 100 ){$path = "../" . $path;$iCount++;}if( $iCount == 100 ){echo "Sorry, we can not locate core functions. Program terminated";exit();}include( $path . "generator/generator.php" );echo displayContent( getPageName() ); ?>
|