Skip to content

Commit

Permalink
Move required
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcs committed Jun 27, 2012
1 parent 33e06b1 commit ea6b9b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin/install.php
Expand Up @@ -19,8 +19,6 @@
define('FORUM', 1); define('FORUM', 1);
define('FORUM_DEBUG', 1); define('FORUM_DEBUG', 1);


require FORUM_ROOT.'include/constants.php';

if (file_exists(FORUM_ROOT.'config.php')) if (file_exists(FORUM_ROOT.'config.php'))
exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="'.FORUM_ROOT.'index.php">here</a> instead.'); exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="'.FORUM_ROOT.'index.php">here</a> instead.');


Expand All @@ -35,6 +33,7 @@
// Turn off PHP time limit // Turn off PHP time limit
@set_time_limit(0); @set_time_limit(0);


require FORUM_ROOT.'include/constants.php';
// We need some stuff from functions.php // We need some stuff from functions.php
require FORUM_ROOT.'include/functions.php'; require FORUM_ROOT.'include/functions.php';


Expand Down

0 comments on commit ea6b9b5

Please sign in to comment.