Changeset 622682
- Timestamp:
- 11/08/2012 08:23:05 PM (13 years ago)
- Location:
- edge-suite/trunk
- Files:
-
- 3 edited
-
admin/manage.php (modified) (1 diff)
-
edge-suite.php (modified) (1 diff)
-
includes/edge-suite-general.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
edge-suite/trunk/admin/manage.php
r608321 r622682 67 67 } 68 68 } 69 if(!dir_is_writable(EDGE_SUITE_PUBLIC_DIR . '/tmp ')){69 if(!dir_is_writable(EDGE_SUITE_PUBLIC_DIR . '/tmp/')){ 70 70 throw new Exception("Edge suite tmp is not writable.<br />"); 71 71 } -
edge-suite/trunk/edge-suite.php
r613980 r622682 150 150 edge_suite_init_constants(); 151 151 152 //Check if dir is writable and create directory structure.153 if (!mkdir_recursive(EDGE_SUITE_COMP_PROJECT_DIR)) {154 print sprintf(__('Unable to create directory %s. Is its parent directory writable by the server?'), EDGE_SUITE_COMP_PROJECT_DIR_REL);155 }156 157 152 } 158 153 -
edge-suite/trunk/includes/edge-suite-general.php
r613609 r622682 34 34 function check_filesystem(){ 35 35 $msg = array(); 36 37 //Check if dir is writable and create directory structure. 38 if (!mkdir_recursive(EDGE_SUITE_COMP_PROJECT_DIR)) { 39 $msg['create_folder'] = 'Edge Suite: Unable to create directory project directory (' . EDGE_SUITE_COMP_PROJECT_DIR . '). Is its parent directory writable by the server?'; 40 } 41 42 36 43 if(!class_exists('ZipArchive')){ 37 44 $msg['zip'] = 'Your server is not able to extract zip files (PHP Class "ZipArchive" not found).'; 45 } 46 47 48 if( ini_get('safe_mode') ){ 49 $msg['safemode'] = "PHP is running in safe mode, uploading compositions will not work."; 38 50 } 39 51 … … 157 169 } 158 170 else{ 159 return $path . " could not be created.";171 return false; 160 172 } 161 173 }
Note: See TracChangeset
for help on using the changeset viewer.