|
@@ 97-106 (lines=10) @@
|
| 94 |
|
|
| 95 |
|
define("XCLONER_STORAGE_PATH", realpath($backup_storage_path)); |
| 96 |
|
|
| 97 |
|
if(!is_dir($backup_storage_path)) |
| 98 |
|
{ |
| 99 |
|
if(!@mkdir($backup_storage_path)) |
| 100 |
|
{ |
| 101 |
|
$status = "error"; |
| 102 |
|
$message = sprintf(__("Unable to create the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path); |
| 103 |
|
$this->trigger_message($message, $status, $backup_storage_path); |
| 104 |
|
return; |
| 105 |
|
} |
| 106 |
|
} |
| 107 |
|
if(!is_writable($backup_storage_path)) |
| 108 |
|
{ |
| 109 |
|
$status = "error"; |
|
@@ 107-114 (lines=8) @@
|
| 104 |
|
return; |
| 105 |
|
} |
| 106 |
|
} |
| 107 |
|
if(!is_writable($backup_storage_path)) |
| 108 |
|
{ |
| 109 |
|
$status = "error"; |
| 110 |
|
$message = sprintf(__("Unable to write to the Backup Storage Location Folder %s . Please fix this before starting the backup process."), $backup_storage_path); |
| 111 |
|
$this->trigger_message($message, $status, $backup_storage_path); |
| 112 |
|
|
| 113 |
|
return; |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
} |
| 117 |
|
|