* fix for backup.
This commit is contained in:
@@ -284,7 +284,7 @@ class backupModel extends model
|
||||
public function getBackupPath()
|
||||
{
|
||||
$backupPath = empty($this->config->backup->settingDir) ? $this->app->getTmpRoot() . 'backup' . DS : $this->config->backup->settingDir;
|
||||
return trim(str_replace('\\', '/', $backupPath), '/') . '/';
|
||||
return rtrim(str_replace('\\', '/', $backupPath), '/') . '/';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user