* use ob function to avoid the errors when use edit my.php.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user