* use ob function to avoid the errors when use edit my.php.

This commit is contained in:
wangchunsheng
2011-05-13 02:24:46 +00:00
parent a08e90ab08
commit d2fdb3d574

View File

@@ -11,8 +11,12 @@
* @version $Id$
* @link http://www.zentao.net
*/
/* Set the error reporting. */
error_reporting(0);
/* Start output buffer. */
ob_start();
/* Load the framework. */
include '../framework/router.class.php';
include '../framework/control.class.php';
@@ -34,3 +38,6 @@ $common = $app->loadCommon();
$app->parseRequest();
$common->checkPriv();
$app->loadModule();
/* Flush the buffer. */
ob_end_flush();