Changeset 1009
- Timestamp:
- 07/02/08 21:32:07 (5 months ago)
- Files:
-
- trunk/swisscenter/base/install_checks.php (modified) (1 diff)
- trunk/swisscenter/config/config_check.php (modified) (1 diff)
- trunk/swisscenter/lang/en/en.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/swisscenter/base/install_checks.php
r937 r1009 204 204 } 205 205 206 function check_swiss_write_cache_dir() 207 { 208 return is_writeable(get_sys_pref('cache_dir')); 209 } 210 206 211 function check_swiss_ini_file() 207 212 { trunk/swisscenter/config/config_check.php
r937 r1009 136 136 $core_tests->add_test( $swiss, check_swiss_write_rootdir(), str("PASS_SWISS_RW_FILES"), str("MISSING_PERMS_TEXT")); 137 137 $core_tests->add_test( $swiss, check_swiss_ini_file(), str("PASS_SWISS_INI"), str("FAIL_SWISS_INI")); 138 $core_tests->add_test( $swiss, check_swiss_write_cache_dir(), str("PASS_SWISS_CACHE"), str("FAIL_SWISS_CACHE", get_sys_pref('cache_dir')) ); 138 139 $core_tests->add_test( $swiss, check_swiss_write_log_dir(), str("PASS_SWISS_LOG"), str("FAIL_SWISS_LOG", logfile_location()) ); 139 140 trunk/swisscenter/lang/en/en.xml
r1008 r1009 1059 1059 </string> 1060 1060 <string> 1061 <id>FAIL_SWISS_CACHE</id> 1062 <text>Unable to write to the SwissCenter cache directory (%s).</text> 1063 <version>1.20.1</version> 1064 </string> 1065 <string> 1061 1066 <id>FAIL_SWISS_INI</id> 1062 1067 <text>Unable to locate the 'swisscenter.ini' file. [br]Have you created a SwissCenter database yet?</text> … … 2334 2339 </string> 2335 2340 <string> 2341 <id>PASS_SWISS_CACHE</id> 2342 <text>Able to Read/Write to the SwissCenter cache directory.</text> 2343 <version>1.20.1</version> 2344 </string> 2345 <string> 2336 2346 <id>PASS_SWISS_INI</id> 2337 2347 <text>Successfully located the 'swisscenter.ini' file.</text>