Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv9405/phpslash-ft/public_html
Modified Files:
index.php3 errordocument.php3
Log Message:
object cleanup
Index: index.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/index.php3,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** index.php3 8 Feb 2002 22:17:28 -0000 1.54
--- index.php3 5 Mar 2002 16:48:27 -0000 1.55
***************
*** 17,21 ****
$story = new Story;
$block = new Block_i;
! $db = new slashDB;
// Start of Page
--- 17,21 ----
$story = new Story;
$block = new Block_i;
! // $db = new slashDB;
// Start of Page
Index: errordocument.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/errordocument.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** errordocument.php3 20 Feb 2002 23:15:59 -0000 1.1
--- errordocument.php3 5 Mar 2002 16:48:28 -0000 1.2
***************
*** 41,44 ****
--- 41,47 ----
slashhead($pagetitle,$_PSL['metatags']);
+ // log 404's if you don't have access server logs in the infolog
+ // logwrite("404", "File Not Found " . $REDIRECT_URL);
+
$template = new Template($_PSL['templatedir']);
$template->debug = 0;
***************
*** 50,54 ****
ROOTDIR => $_PSL['rooturl'],
IMAGEDIR => $_PSL['imagedir'],
! ERRORURL => $REDIRECT_URL
));
--- 53,57 ----
ROOTDIR => $_PSL['rooturl'],
IMAGEDIR => $_PSL['imagedir'],
! ERRORURL => htmlentities($REDIRECT_URL)
));
|