cvs: docweb /include lib_general.inc.php lib_site_conf.inc.php /www .htaccess error.php

From: Date: Thu, 05 Aug 2004 12:29:49 +0000
Subject: cvs: docweb /include lib_general.inc.php lib_site_conf.inc.php /www .htaccess error.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-126@lists.php.net to get a copy of this message
goba Thu Aug 5 08:29:49 2004 EDT Added files: /docweb/include lib_site_conf.inc.php /docweb/www .htaccess Modified files: /docweb/include lib_general.inc.php /docweb/www error.php Log: fix errors spotted by Vincent, and add site specific setting file http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.2&r2=1.3&ty=u Index: docweb/include/lib_general.inc.php diff -u docweb/include/lib_general.inc.php:1.2 docweb/include/lib_general.inc.php:1.3 --- docweb/include/lib_general.inc.php:1.2 Thu Aug 5 07:04:32 2004 +++ docweb/include/lib_general.inc.php Thu Aug 5 08:29:48 2004 @@ -17,13 +17,13 @@ | Mehdi Achour <didou@php.net> | | Gabor Hojtsy <goba@php.net> | +----------------------------------------------------------------------+ -$Id: lib_general.inc.php,v 1.2 2004/08/05 11:04:32 goba Exp $ +$Id: lib_general.inc.php,v 1.3 2004/08/05 12:29:48 goba Exp $ */ 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 @@ </div> <div id="footer"> <p> - <a href="{$master}copyright">Copyright</a> 2004 The PHP Documentation Teams - All rights reserved. + <a href="{$master}copyright.php">Copyright</a> 2004 The PHP Documentation Teams - All rights reserved. <p> <p> <a href="{$master}credits.php">Credits</a> | <a href="{$master}contact.php">Contact</a> http://cvs.php.net/diff.php/docweb/www/error.php?r1=1.1&r2=1.2&ty=u Index: docweb/www/error.php diff -u docweb/www/error.php:1.1 docweb/www/error.php:1.2 --- docweb/www/error.php:1.1 Wed Aug 4 13:14:55 2004 +++ docweb/www/error.php Thu Aug 5 08:29:49 2004 @@ -1,7 +1,7 @@ <?php -include '../../include/lib_general.inc.php'; -include '../../include/lib_revcheck.inc.php'; +include '../include/lib_general.inc.php'; +include '../include/lib_revcheck.inc.php'; if( !isset($_SERVER["REDIRECT_STATUS"]) || $_SERVER["REDIRECT_STATUS"] == 200 ) { http://cvs.php.net/co.php/docweb/include/lib_site_conf.inc.php?r=1.1&p=1 Index: docweb/include/lib_site_conf.inc.php +++ docweb/include/lib_site_conf.inc.php <?php // Set your local site settings here (and do not commit this file!) define('WEB_ROOT', 'doc.keliglia.com'); define('PATH_ROOT', '/home/user/doc'); http://cvs.php.net/co.php/docweb/www/.htaccess?r=1.1&p=1 Index: docweb/www/.htaccess +++ docweb/www/.htaccess ErrorDocument 404 /error.php

« previous php.doc.web (#126) next »