Changeset 2236

Show
Ignore:
Timestamp:
11/26/10 11:51:37 (18 months ago)
Author:
nick_ramsay
Message:

[1.5] Updating Hotaru file with 1.4.2 changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/Hotaru.php

    r2176 r2236  
    2626class Hotaru 
    2727{ 
    28         protected $version              = "1.4.1";  // Hotaru CMS version 
     28        protected $version              = "1.5";  // Hotaru CMS version 
    2929        protected $isDebug              = false;    // show db queries and page loading time 
    3030        protected $isAdmin              = false;    // flag to tell if we are in Admin or not 
     
    7373                if (!defined('BASE')) { 
    7474                    define("BASE", dirname(__FILE__). '/'); 
     75                        define("CACHE", dirname(__FILE__).'/cache/'); 
    7576                    define("ADMIN", dirname(__FILE__).'/admin/');                    
    7677                    define("INSTALL", dirname(__FILE__).'/install/'); 
     
    8283                    define("PLUGINS", dirname(__FILE__).'/content/plugins/'); 
    8384                    define("ADMIN_THEMES", dirname(__FILE__).'/content/admin_themes/'); 
     85                        define("SITEURL", BASEURL); 
    8486                } 
    8587 
     
    14641466        { 
    14651467                $maintenance = new Maintenance(); 
    1466                 $maintenance->deleteFiles($dir); 
     1468                return $maintenance->deleteFiles($dir); 
    14671469        } 
    14681470