2011-08-25 Javier Lanz <javier.lanz@artica.es>
* include/functions_config.php: Fixed checking if remote configuration directory is not writtable for the console. Fixes: #3396471 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d561f6ea47
commit
b19bc07599
|
@ -1,3 +1,10 @@
|
|||
2011-08-25 Javier Lanz <javier.lanz@artica.es>
|
||||
|
||||
* include/functions_config.php: Fixed checking if remote configuration
|
||||
directory is not writtable for the console.
|
||||
|
||||
Fixes: #3396471
|
||||
|
||||
2011-08-25 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* godmode/massive/massive_copy_modules.php: Added group recursion
|
||||
|
|
|
@ -688,14 +688,14 @@ function config_check (){
|
|||
$_SESSION["alert_msg"] .= '<h3 class="error">'.__('Remote configuration directory is not writtable for the console').' - $remote_config</h3>';
|
||||
}
|
||||
|
||||
$remote_config = $remote_config . "/conf";
|
||||
if (!is_writable ($remote_config)){
|
||||
$remote_config_conf = $remote_config . "/conf";
|
||||
if (!is_writable ($remote_config_conf)){
|
||||
$config["alert_cnt"]++;
|
||||
$_SESSION["alert_msg"] .= '<h3 class="error">'.__('Remote configuration directory is not writtable for the console').' - $remote_config</h3>';
|
||||
}
|
||||
|
||||
$remote_config = $remote_config . "/collections";
|
||||
if (!is_writable ($remote_config)){
|
||||
$remote_config_col = $remote_config . "/collections";
|
||||
if (!is_writable ($remote_config_col)){
|
||||
$config["alert_cnt"]++;
|
||||
$_SESSION["alert_msg"] .= '<h3 class="error">'.__('Remote configuration directory is not writtable for the console').' - $remote_config</h3>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue