mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Added the last correction to UM online open
This commit is contained in:
parent
c9fd56df75
commit
d426cbbe4a
@ -678,16 +678,16 @@ function update_manager_extract_package() {
|
|||||||
function update_manager_starting_update() {
|
function update_manager_starting_update() {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
$full_path = $config['attachment_store'] . "/downloads/";
|
$full_path = $config['attachment_store'] . "/downloads";
|
||||||
|
|
||||||
$homedir = $config['homedir'];
|
$homedir = $config['homedir'];
|
||||||
|
|
||||||
$result = update_manager_recurse_copy(
|
$result = update_manager_recurse_copy(
|
||||||
$full_path,
|
$full_path,
|
||||||
$homedir,
|
$homedir,
|
||||||
array('install.php'));
|
array('install.php'));
|
||||||
|
|
||||||
rrmdir($full_path);
|
rrmdir($full_path . "/pandora_console");
|
||||||
|
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
db_process_sql_update('tconfig',
|
db_process_sql_update('tconfig',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user