includes/common.php
changeset 801 eb8b23f11744
parent 800 9cdfe82c56cd
child 812 68060328e9c6
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  *
     7  *
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    10  *
    10  *
    42 // Our version number
    42 // Our version number
    43 // This needs to match the version number in the database. This number should
    43 // This needs to match the version number in the database. This number should
    44 // be the expected output of enano_version(), which will always be in the
    44 // be the expected output of enano_version(), which will always be in the
    45 // format of 1.0.2, 1.0.2a1, 1.0.2b1, 1.0.2RC1
    45 // format of 1.0.2, 1.0.2a1, 1.0.2b1, 1.0.2RC1
    46 // You'll want to change this for custom distributions.
    46 // You'll want to change this for custom distributions.
    47 $version = '1.1.5';
    47 $version = '1.1.6';
    48 
    48 
    49 /**
    49 /**
    50  * Returns a floating-point number with the current UNIX timestamp in microseconds. Defined very early because we gotta call it
    50  * Returns a floating-point number with the current UNIX timestamp in microseconds. Defined very early because we gotta call it
    51  * from very early on in the script to measure the starting time of Enano.
    51  * from very early on in the script to measure the starting time of Enano.
    52  * @return float
    52  * @return float
   145 require_once(ENANO_ROOT.'/includes/email.php');
   145 require_once(ENANO_ROOT.'/includes/email.php');
   146 require_once(ENANO_ROOT.'/includes/json2.php');
   146 require_once(ENANO_ROOT.'/includes/json2.php');
   147 require_once(ENANO_ROOT.'/includes/pageprocess.php');
   147 require_once(ENANO_ROOT.'/includes/pageprocess.php');
   148 require_once(ENANO_ROOT.'/includes/namespaces/default.php');
   148 require_once(ENANO_ROOT.'/includes/namespaces/default.php');
   149 require_once(ENANO_ROOT.'/includes/tagcloud.php');
   149 require_once(ENANO_ROOT.'/includes/tagcloud.php');
       
   150 require_once(ENANO_ROOT.'/includes/hmac.php');
   150 
   151 
   151 strip_magic_quotes_gpc();
   152 strip_magic_quotes_gpc();
   152 
   153 
   153 profiler_log('Files included and magic_quotes_gpc reversed if applicable');
   154 profiler_log('Files included and magic_quotes_gpc reversed if applicable');
   154 
   155