diff options
author | Eudyptula <eitan@mosenkis.net> | 2009-06-17 12:15:12 -0400 |
---|---|---|
committer | Eudyptula <eitan@mosenkis.net> | 2009-06-17 12:15:12 -0400 |
commit | 10f33476498711536961558c1876acc6d10aaf1f (patch) | |
tree | 569e8b4033d04a36b0fb09e0366e0c4f8f4e1cf0 | |
parent | Updated depend for necessary php extensions, apache mod_rewrite (diff) | |
download | ingenue-10f33476498711536961558c1876acc6d10aaf1f.tar.gz ingenue-10f33476498711536961558c1876acc6d10aaf1f.tar.bz2 ingenue-10f33476498711536961558c1876acc6d10aaf1f.zip |
Moved including shared/include/paths.php into shared/include/includes.php
-rwxr-xr-x | backend/backend.php | 3 | ||||
-rw-r--r-- | shared/include/includes.php | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/backend.php b/backend/backend.php index 84af0db..dd7be37 100755 --- a/backend/backend.php +++ b/backend/backend.php @@ -1,7 +1,6 @@ #!/usr/bin/php <?php -require_once(dirname(__FILE__).'/../shared/include/paths.php'); // USE __DIR__ once 5.3.0 is out -require_once(SHARED.'/include/includes.php'); +require_once(dirname(__FILE__).'/../shared/include/includes.php'); // USE __DIR__ once 5.3.0 is out $opts=getopt('f'); if (isset($opts['f'])) { $f=pcntl_fork(); diff --git a/shared/include/includes.php b/shared/include/includes.php index 1f465fd..40e68b6 100644 --- a/shared/include/includes.php +++ b/shared/include/includes.php @@ -1,4 +1,5 @@ <?php +require_once(dirname(__FILE__).'/paths.php'); // USE __dir__ in 5.3.0 // Load functions and classes from the shared directory and either foreground or background $dir=realpath($_SERVER['PHP_SELF']) == BACKEND.'/backend.php'?BACKEND:FRONTEND; foreach (array('functions', 'classes') as $type) { |