Dotclear


Ignore:
Timestamp:
09/04/13 00:06:24 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.5
Message:

Updates error messages (might be reviewed later), fixes #1406

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1705 r1708  
    230230if ( $core->auth->isSuperAdmin() ) { 
    231231     if (!is_dir(DC_TPL_CACHE) || !is_writable(DC_TPL_CACHE)) { 
    232           $err[] = '<p>'.__("Dotclear needs a directory write cache to function properly. You need to create a designated area in the line \"DC_TPL_CACHE\" in the file inc/config.php in your system and assign rights to read, write and execute for everyone.").'</p>'; 
     232          $err[] = '<p>'.__("The cache directory does not exist or is not writable. You must create this directory with sufficient rights and affect this location to \"DC_TPL_CACHE\" in inc/config.php file.").'</p>'; 
    233233     } 
    234234} else { 
    235235     if (!is_dir(DC_TPL_CACHE) || !is_writable(DC_TPL_CACHE)) { 
    236           $err[] = '<p>'.__("Dotclear needs a directory write cache to function properly. You must contact your administrator.").'</p>'; 
     236          $err[] = '<p>'.__("The cache directory does not exist or is not writable. You should contact your administrator.").'</p>'; 
    237237     } 
    238238} 
     
    241241if ( $core->auth->isSuperAdmin() ) { 
    242242     if (!is_dir($core->blog->public_path) || !is_writable($core->blog->public_path)) { 
    243           $err[] = '<p>'.__("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.").'</p>'; 
     243          $err[] = '<p>'.__("There is no writable directory /public/ at the location set in about:config \"public_path\". You must create this directory with sufficient rights (or change this setting).").'</p>'; 
    244244     } 
    245245} else { 
    246246     if (!is_dir($core->blog->public_path) || !is_writable($core->blog->public_path)) { 
    247           $err[] = '<p>'.__("There is no directory /public/ write to the location indicated in about:config \"public_path\". You must contact your administrator.").'</p>'; 
     247          $err[] = '<p>'.__("There is no writable root directory for the media manager. You should contact your administrator.").'</p>'; 
    248248     } 
    249249} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map