protected function checkCacheVersion()
    {
        $fileName = $this->getVersionFileName();

        if (!file_exists($fileName)) {
            return false;
        }

        $version = md5($this->boltVersion);
        $cached = file_get_contents($fileName);

        if ($version === $cached) {
            return true;
        }
        $this->versionChange = true;

        return false;
    }
protected function checkCacheVersion()
    {
        $fileName = $this->getVersionFileName();

        if (!file_exists($fileName)) {
            return false;
        }

        $version = md5($this->boltVersion);
        $cached = file_get_contents($fileName);

        if ($version === $cached) {
            return true;
        }
        $this->versionChange = true;

        return false;
    }
protected function checkCacheVersion ( ) { $ fileName = $ this -> getVersionFileName ( ) ; if ( ! file_exists ( $ fileName ) ) { return false ; } $ version = md5 ( $ this -> boltVersion ) ; $ cached = file_get_contents ( $ fileName ) ; if ( $ version === $ cached ) { return true ; } $ this -> versionChange = true ; return false ; }
Check if the cache version matches Bolt's current version.

@return bool TRUE  - versions match
FALSE - versions don't match
Check if the cache version matches Bolt s current version .