From da1a0deb76c58c1ff310c17497c1ec11fe316602 Mon Sep 17 00:00:00 2001 From: hecht Date: Mon, 7 Nov 2011 21:27:21 +0000 Subject: [PATCH] remove path.inc.php copy --- cronjob/path.inc.php | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 cronjob/path.inc.php diff --git a/cronjob/path.inc.php b/cronjob/path.inc.php deleted file mode 100644 index 60843ce..0000000 --- a/cronjob/path.inc.php +++ /dev/null @@ -1,24 +0,0 @@ -'; - - // 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 . '
'; - -?> -