';
// okay this is the script that has included us :) -> lets search for the include/config/ directory
while(strlen($actual_path) > 0) {
$actual_path = substr($actual_path,0,strrpos($actual_path,'/'));
if(is_dir($actual_path . '/include/config')) {
define('ROOT_PATH', $actual_path);
define('ROOT_URL', '/ag'); // --> currently no support :(
}
}
}
echo ROOT_PATH . '
';
echo ROOT_URL . '
';
?>