No more PHP4:
[mailer.git] / inc / classes / cachesystem.class.php
index 25057b6922a3dc0708b01f75b1c9e248bae6f3d3..c9dcc71a4450c3a0aded55ba538c4f855726beca 100644 (file)
@@ -38,32 +38,32 @@ if (!defined('__SECURITY')) {
 // Caching class
 class CacheSystem {
        // Status code
-       var $statusCode = 'init';
+       public $statusCode = 'init';
 
        // Full-qualified filename
-       var $fqfn = '';
+       public $fqfn = '';
 
        // Resource to cache file
-       var $pointer = FALSE;
+       public $pointer = FALSE;
 
        // Data array from cache
-       var $data = array();
+       public $data = array();
 
        // Version data from cache
-       var $version = array();
+       public $version = array();
 
        // Cache name
-       var $name = '';
-       var $rebuilt = array();
+       public $name = '';
+       public $rebuilt = array();
 
        // File extension
-       var $extension = '';
-       var $status = array();
-       var $readable = array();
-       var $fullPath = '';
+       public $extension = '';
+       public $status = array();
+       public $readable = array();
+       public $fullPath = '';
 
        // Constructor
-       function CacheSystem () {
+       public function __construct () {
                // Set extension
                $this->extension = getCacheExtension();