summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-03 14:30:02 +0000
committertill <till@php.net>2008-02-03 14:30:02 +0000
commit2b9b6bfab0c5d99e7571d69bc94a6ea69f39932d (patch)
treea30ebd66cda651ec7d8834836cfe7099c7555216
parent8bbe9d0ecb9c725f78c6565af85d83954f8137f8 (diff)
* fixed include_path
-rw-r--r--check.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/check.php b/check.php
index 8e0558e23..a21431aa8 100644
--- a/check.php
+++ b/check.php
@@ -38,6 +38,10 @@
* @todo HTML/CSS to make it pretty.
*/
+$include_path = dirname(__FILE__) . '/program/lib/';
+$include_path .= PATH_SEPARATOR . get_include_path();
+set_include_path($include_path);
+
$writable_dirs = array('logs/', 'temp/');
$create_files = array('config/db.inc.php', 'config/main.inc.php');