fix errors spotted by Vincent, and add site specific setting file

This commit is contained in:
Gabor Hojtsy
2004-08-05 12:29:49 +00:00
parent 129b432b28
commit 4f8cc0a580
4 changed files with 13 additions and 5 deletions

View File

@ -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()
</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>

View File

@ -0,0 +1,7 @@
<?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');

1
www/.htaccess Normal file
View File

@ -0,0 +1 @@
ErrorDocument 404 /error.php

View File

@ -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 ) {