Changeset 1018
- Timestamp:
- 07/12/08 18:40:54 (4 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
r1009 r1018 209 209 } 210 210 211 function check_swiss_write_playlist_dir() 212 { 213 $result = ( is_readable(get_sys_pref('playlists')) && is_writable(get_sys_pref('playlists')) ); 214 215 if (!$result) 216 send_to_log(5,'- Unable to access playlist directory ('.get_sys_pref('playlists').').'); 217 218 return $result; 219 } 220 211 221 function check_swiss_ini_file() 212 222 { trunk/swisscenter/config/config_check.php
r1009 r1018 137 137 $core_tests->add_test( $swiss, check_swiss_ini_file(), str("PASS_SWISS_INI"), str("FAIL_SWISS_INI")); 138 138 $core_tests->add_test( $swiss, check_swiss_write_cache_dir(), str("PASS_SWISS_CACHE"), str("FAIL_SWISS_CACHE", get_sys_pref('cache_dir')) ); 139 $core_tests->add_test( $swiss, check_swiss_write_playlist_dir(), str("PASS_SWISS_PLAYLIST"), str("FAIL_SWISS_PLAYLIST", get_sys_pref('playlists')) ); 139 140 $core_tests->add_test( $swiss, check_swiss_write_log_dir(), str("PASS_SWISS_LOG"), str("FAIL_SWISS_LOG", logfile_location()) ); 140 141 trunk/swisscenter/lang/en/en.xml
r1015 r1018 1069 1069 </string> 1070 1070 <string> 1071 <id>FAIL_SWISS_PLAYLIST</id> 1072 <text>Unable to write to the SwissCenter playlists directory (%s).</text> 1073 <version>1.20.1</version> 1074 </string> 1075 <string> 1071 1076 <id>FILENAME</id> 1072 1077 <text>Filename</text> … … 2369 2374 </string> 2370 2375 <string> 2376 <id>PASS_SWISS_PLAYLIST</id> 2377 <text>Able to Read/Write to the SwissCenter playlists directory.</text> 2378 <version>1.20.1</version> 2379 </string> 2380 <string> 2371 2381 <id>PASS_SWISS_ROOT_INS</id> 2372 2382 <text>Installation was as a user other than root.</text>