commit e358f789dd6f2abad846a0c0f7fe1cd548759cbb
parent 57e11162a94828b4b7f7fe0577e478ae61f8e835
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 20 Dec 2014 21:11:38 +0100
fix update bug
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -19,14 +19,14 @@ if ($root_3[1] == 'core') {
*/
ini_set('max_execution_time', 60);
-define('UPDATE_DIR_TEMP', dirname(__FILE__).'/temp/');
+define('UPDATE_DIR_TEMP', $root . '/');
define('UPDATE_DIR_INSTALL', $root . '/');
class AutoUpdate {
/*
* Enable logging
*/
- private $_log = false;
+ private $_log = true;
/*
* Log file
@@ -86,7 +86,7 @@ class AutoUpdate {
/*
* Create new folders with this privileges
*/
- public $dirPermissions = 0755;
+ public $dirPermissions = 0775;
/*
* Update script filename