install/includes/common.php
changeset 801 eb8b23f11744
parent 685 17ebe24cdf85
child 803 ab64a963e492
equal deleted inserted replaced
800:9cdfe82c56cd 801:eb8b23f11744
     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.1.5 (Caoineag alpha 5)
     5  * Version 1.1.6 (Caoineag beta 1)
     6  * Copyright (C) 2006-2008 Dan Fuhry
     6  * Copyright (C) 2006-2008 Dan Fuhry
     7  * Installation package
     7  * Installation package
     8  * common.php - Installer common functions
     8  * common.php - Installer common functions
     9  *
     9  *
    10  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    10  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
    14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    15  */
    15  */
    16 
    16 
    17 // Our version number. This needs to be changed for any custom releases.
    17 // Our version number. This needs to be changed for any custom releases.
    18 $installer_version = array(
    18 $installer_version = array(
    19   'version' => '1.1.5',
    19   'version' => '1.1.6',
    20   'type' => 'alpha'
    20   'type' => 'beta'
    21   // If type is set to "rc", "beta", or "alpha", optionally another version number can be issued with the key 'sub':
    21   // If type is set to "rc", "beta", or "alpha", optionally another version number can be issued with the key 'sub':
    22   // 'sub' => '3' will produce Enano 1.1.1a3 / Enano 1.1.1 alpha 3
    22   // 'sub' => '3' will produce Enano 1.1.1a3 / Enano 1.1.1 alpha 3
    23 );
    23 );
    24 
    24 
    25 function installer_enano_version($long = false)
    25 function installer_enano_version($long = false)
   103 require_once(ENANO_ROOT . '/install/includes/ui.php');
   103 require_once(ENANO_ROOT . '/install/includes/ui.php');
   104 require_once(ENANO_ROOT . '/includes/functions.php');
   104 require_once(ENANO_ROOT . '/includes/functions.php');
   105 require_once(ENANO_ROOT . '/includes/json.php');
   105 require_once(ENANO_ROOT . '/includes/json.php');
   106 require_once(ENANO_ROOT . '/includes/constants.php');
   106 require_once(ENANO_ROOT . '/includes/constants.php');
   107 require_once(ENANO_ROOT . '/includes/rijndael.php');
   107 require_once(ENANO_ROOT . '/includes/rijndael.php');
       
   108 require_once(ENANO_ROOT . '/includes/hmac.php');
   108 
   109 
   109 // If we have at least PHP 5, load json2
   110 // If we have at least PHP 5, load json2
   110 if ( version_compare(PHP_VERSION, '5.0.0', '>=') )
   111 if ( version_compare(PHP_VERSION, '5.0.0', '>=') )
   111 {
   112 {
   112   require_once(ENANO_ROOT . '/includes/json2.php');
   113   require_once(ENANO_ROOT . '/includes/json2.php');