Changeset 1124

Show
Ignore:
Timestamp:
09/08/08 06:30:27 (3 months ago)
Author:
arnoschn
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/arnoschn/cache/test/unit/lib/AkSession.php

    r1123 r1124  
    1717    var $sessionLife = NULL; 
    1818    
     19    function _checkIfEnabled($file = null) 
     20    { 
     21        if ($file == null) { 
     22            $file = isset($this->check_file)?$this->check_file:null; 
     23        } 
     24        if ($file!=null && file_exists($file)) { 
     25            $val = file_get_contents($file); 
     26            if ($val == '0') { 
     27                return false; 
     28            } 
     29        } 
     30        return true; 
     31    } 
     32     
    1933    function test_install_db_tables() 
    2034    {