From 4f8cc0a5809d78374ad393d3708c41e90ef63305 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Thu, 5 Aug 2004 12:29:49 +0000 Subject: [PATCH] fix errors spotted by Vincent, and add site specific setting file --- include/lib_general.inc.php | 6 +++--- include/lib_site_conf.inc.php | 7 +++++++ www/.htaccess | 1 + www/error.php | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 include/lib_site_conf.inc.php create mode 100644 www/.htaccess diff --git a/include/lib_general.inc.php b/include/lib_general.inc.php index f9eb928..fa67125 100644 --- a/include/lib_general.inc.php +++ b/include/lib_general.inc.php @@ -22,8 +22,8 @@ $Id$ error_reporting(E_ALL); -define('PATH_ROOT', '/home/user/doc'); -define('WEB_ROOT', 'doc.keliglia.com'); +include_once 'lib_site_conf.inc.php'; + define('SQLITE_DIR', PATH_ROOT . '/sqlite/'); define('CVS_DIR', PATH_ROOT . '/cvs/'); @@ -197,7 +197,7 @@ function site_footer()