* add the define of config class and getWebRoot() function.

This commit is contained in:
wangchunsheng
2013-01-23 08:22:43 +00:00
parent 0c5150921f
commit dfb35fbde2
5 changed files with 4 additions and 16 deletions
-4
View File
@@ -63,7 +63,3 @@ $attachFile = $destDir . "/" . "file." . date('Ymd', time()) . ".zip";
$archive = new pclzip($attachFile);
if($archive->create("data/upload", PCLZIP_OPT_REMOVE_PATH, "data")) die(" successfully saved to $attachFile\n");
die("Error : ".$archive->errorInfo(true));
/* avoid init error. */
function getWebRoot(){}
class config{}