tbrehm
2010-09-19 e1cdaebca2addd940a8b8447e8db8baf96238a91
Fixed a bug in directory creation code of the backup function.
1 files modified
2 ■■■ changed files
server/cron_daily.php 2 ●●● patch | view | raw | blame | history
server/cron_daily.php
@@ -388,7 +388,7 @@
if($backup_dir != '') {
    
    if(!is_dir($backup_dir)) {
        mkdir(escapeshellarg($backup_dir), 0750, true);
        mkdir(escapeshellcmd($backup_dir), 0750, true);
    }
    
    $sql = "SELECT * FROM web_domain WHERE type = 'vhost'";