* fix the bug: when down load a file, the file dosen't exists, should add a else logic to the code.

This commit is contained in:
wangchunsheng
2011-02-09 16:13:44 +00:00
parent 3025cca0c9
commit 1742d2eebd
+4 -1
View File
@@ -96,7 +96,10 @@ class file extends control
$fileData = file_get_contents($file->realPath);
echo $fileData;
}
$this->app->error("The file you visit $fileID not found.", __FILE__, __LINE__, true);
else
{
$this->app->error("The file you visit $fileID not found.", __FILE__, __LINE__, true);
}
}
}