|
@@ -132,7 +132,7 @@ class PackageClass
|
|
|
}
|
|
|
|
|
|
//设置日志文件路径
|
|
|
- if(! defined(LOG_PATH)){
|
|
|
+ if(! defined('LOG_PATH')){
|
|
|
$logPath = pathJoin($distributeDir,'log.txt');
|
|
|
define('LOG_PATH',$logPath);
|
|
|
if(file_exists($logPath))
|
|
@@ -140,7 +140,7 @@ class PackageClass
|
|
|
}
|
|
|
|
|
|
//设置进度文件路径
|
|
|
- if(! defined(PROGRESS_PATH)){
|
|
|
+ if(! defined('PROGRESS_PATH')){
|
|
|
$progressPath = pathJoin($distributeDir,'progress.txt');
|
|
|
define('PROGRESS_PATH',$progressPath);
|
|
|
if(file_exists($progressPath))
|
|
@@ -154,7 +154,7 @@ class PackageClass
|
|
|
}
|
|
|
|
|
|
//设置 module.ini 路径
|
|
|
- if(! defined(MODULEINI_PATH)){
|
|
|
+ if(! defined('MODULEINI_PATH')){
|
|
|
$moduleiniPath = pathJoin($moduleDir,'module.ini');
|
|
|
define('MODULEINI_PATH',$moduleiniPath);
|
|
|
if(file_exists($moduleiniPath))
|