|
From: Paul S. O. <ps...@us...> - 2002-02-11 13:05:12
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv3453
Modified Files:
upgrade.php
Log Message:
Prevent upgrade being run standalone from install if PHPBB_INSTALLED present in config.
Index: upgrade.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/upgrade.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** upgrade.php 31 Jan 2002 23:19:00 -0000 1.19
--- upgrade.php 11 Feb 2002 13:05:08 -0000 1.20
***************
*** 30,33 ****
--- 30,39 ----
include('includes/constants.'.$phpEx);
include('includes/functions.'.$phpEx);
+
+ if( defined("PHPBB_INSTALLED") )
+ {
+ header("Location: index.$phpEx");
+ exit;
+ }
}
|