Dotclear


Ignore:
Timestamp:
08/01/12 15:43:22 (13 years ago)
Author:
JcDenis
Branch:
default
Message:

Check folder right on wizard, fixes #1024

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/install/wizard.php

    r557 r858  
    4444if (is_file(DC_RC_PATH)) { 
    4545     http::redirect('index.php'); 
     46} 
     47 
     48if (!is_writable(dirname(DC_RC_PATH))) { 
     49     $err = '<p>'.sprintf(__('Path <strong>%s</strong> is not writable.'),path::real(dirname(DC_RC_PATH))).'</p>'. 
     50     '<p>'.__('Dotclear installation wizard could not create configuration file for you. '. 
     51          'You must change folder right or create the <strong>config.php</strong> '. 
     52          'file manually, please refer to '. 
     53          '<a href="http://dotclear.org/documentation/2.0/admin/install">'. 
     54          'the documentation</a> to learn how to do this.').'</p>'; 
    4655} 
    4756 
Note: See TracChangeset for help on using the changeset viewer.

Sites map