mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-7705-error-500-en-vista-de-licence-management' into 'develop'
Minor CDE (bonus) See merge request artica/pandorafms!4211
This commit is contained in:
commit
02dad9a27d
@ -2017,6 +2017,7 @@ class Client
|
|||||||
}
|
}
|
||||||
|
|
||||||
$rc = rename($file_path, $serverRepo.'/'.$file_name);
|
$rc = rename($file_path, $serverRepo.'/'.$file_name);
|
||||||
|
chmod($serverRepo.'/'.$file_name, 0660);
|
||||||
|
|
||||||
if ($rc === false) {
|
if ($rc === false) {
|
||||||
$this->lastError = 'Unable to deploy server update from '.$file_path;
|
$this->lastError = 'Unable to deploy server update from '.$file_path;
|
||||||
@ -2025,6 +2026,7 @@ class Client
|
|||||||
}
|
}
|
||||||
|
|
||||||
file_put_contents($serverRepo.'/version.txt', $version);
|
file_put_contents($serverRepo.'/version.txt', $version);
|
||||||
|
chmod($serverRepo.'/version.txt', 0660);
|
||||||
|
|
||||||
// Success.
|
// Success.
|
||||||
$this->notify(100, 'Server update scheduled.');
|
$this->notify(100, 'Server update scheduled.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user