WordPress.org

Plugin Directory

Changeset 535427 for syndicate-press


Ignore:
Timestamp:
04/24/12 13:40:16 (2 years ago)
Author:
hranchFundi
Message:

added check to ignore empty permissions code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • syndicate-press/tags/1.0.12/syndicate-press-plugin.php

    r535424 r535427  
    381381            $inputCacheDirPerm = $this->sp_getFilePermissions($inputCacheDir); 
    382382            $outputCacheDirPerm = $this->sp_getFilePermissions($outputCacheDir); 
    383             if($mainCacheDirPerm != "rwxr-xr-x" && $mainCacheDirPerm != "") 
     383            if($mainCacheDirPerm != "rwxr-xr-x" && $mainCacheDirPerm != "---------") 
    384384            { 
    385385                $permProblem .= "Main cache: $mainCacheDirPerm<br>"; 
    386386            } 
    387             if($inputCacheDirPerm != "rwxr-xr-x" && $inputCacheDirPerm != "") 
     387            if($inputCacheDirPerm != "rwxr-xr-x" && $inputCacheDirPerm != "---------") 
    388388            { 
    389389                $permProblem .= "Input cache: $inputCacheDirPerm<br>"; 
    390390            } 
    391             if($outputCacheDirPerm != "rwxr-xr-x" && $outputCacheDirPerm != "") 
     391            if($outputCacheDirPerm != "rwxr-xr-x" && $outputCacheDirPerm != "---------") 
    392392            { 
    393393                $permProblem .= "Output cache: $outputCacheDirPerm<br>"; 
     
    395395            if($permProblem) 
    396396            { 
    397                 $permProblem = "There is a problem with your cache permissions:<br>$permProblem<br>Please set your cache permissions to rwxr-xr-x."; 
     397                $permProblem = "There may be a problem with your cache permissions:<br>$permProblem<br>Please set your cache permissions to rwxr-xr-x."; 
    398398            } 
    399399            return $permProblem; 
Note: See TracChangeset for help on using the changeset viewer.