浏览代码

A tiny typo

Signed-off-by: jdarwood007 <[email protected]>
jdarwood007 10 年之前
父节点
当前提交
05851e71fc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Subs-Package.php

+ 1 - 1
Sources/Subs-Package.php

@@ -447,7 +447,7 @@ function loadInstalledPackages()
  */
 function getPackageInfo($gzfilename)
 {
-	global $boarddir, $sourcedir, $smcFunc;
+	global $boarddir, $sourcedir, $packagesdir, $smcFunc;
 
 	// Extract package-info.xml from downloaded file. (*/ is used because it could be in any directory.)
 	if (strpos($gzfilename, 'http://') !== false)