Changeset 1705:0f4123c4d1c5 for inc/core
- Timestamp:
- 09/03/13 19:12:39 (12 years ago)
- Branch:
- ticket #1406-2
- Children:
- 1706:ceda30178c06, 1707:0210876ac75e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.media.php
r1677 r1705 74 74 75 75 if (!is_dir($root)) { 76 throw new Exception(sprintf(__('Directory %s does not exist.'),$root)); 76 # Check public directory 77 if ( $core->auth->isSuperAdmin() ) { 78 throw new Exception(__("There is no directory /public/ write to the location indicated in about:config \"public_path\". You must create this directory in the specified location, or change the settings and assign permissions to read, write and execute for everyone.")); 79 } else { 80 throw new Exception(__("There is no directory /public/ write to the location indicated in about:config \"public_path\". You must contact your administrator.")); 81 } 77 82 } 78 83
Note: See TracChangeset
for help on using the changeset viewer.