install.php
changeset 294 444c34a3886b
parent 291 fe6380ae4a1a
child 306 7a7173c0f62f
equal deleted inserted replaced
293:fbe306070c40 294:444c34a3886b
     1 <?php
     1 <?php
     2 
     2 
     3 /*
     3 /*
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     5  * Version 1.0.4 (Ellyyllon)
     5  * Version 1.0.5 (Ferrishyn)
     6  * Copyright (C) 2006-2007 Dan Fuhry
     6  * Copyright (C) 2006-2007 Dan Fuhry
     7  * install.php - handles everything related to installation and initial configuration
     7  * install.php - handles everything related to installation and initial configuration
     8  *
     8  *
     9  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     9  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    10  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    10  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    28   return ((float)$usec + (float)$sec);
    28   return ((float)$usec + (float)$sec);
    29 }
    29 }
    30 
    30 
    31 define('IN_ENANO_INSTALL', 'true');
    31 define('IN_ENANO_INSTALL', 'true');
    32 
    32 
    33 define('ENANO_VERSION', '1.0.4');
    33 define('ENANO_VERSION', '1.0.5');
    34 // In beta versions, define ENANO_BETA_VERSION here
    34 // In beta versions, define ENANO_BETA_VERSION here
    35 
    35 
    36 if(!defined('scriptPath')) {
    36 if(!defined('scriptPath')) {
    37   $sp = dirname($_SERVER['REQUEST_URI']);
    37   $sp = dirname($_SERVER['REQUEST_URI']);
    38   if($sp == '/' || $sp == '\\') $sp = '';
    38   if($sp == '/' || $sp == '\\') $sp = '';