Habari\APCCache::__construct PHP Method

__construct() public method

Constructor for APCCache
public __construct ( )
    public function __construct()
    {
        $this->prefix = Options::get('private-GUID');
        $this->enabled = extension_loaded('apc');
        if (!$this->enabled) {
            Session::error(_t("The APC Cache PHP module is not loaded - the cache is disabled.", "apccache"), 'filecache');
            EventLog::log(_t("The APC Cache PHP module is not loaded - the cache is disabled.", "apccache"), 'notice', 'cache', 'apccache');
        }
    }