require_once('webapp/config.php'); require_once(MOJAVI_FILE); $controller =& Controller::getInstance(); require_once(AUTH_DIR . 'PrivilegeAuthorizationHandler.class.php'); require_once(USER_DIR . 'PrivilegeUser.class.php'); require_once (LIB_DIR.'/RequestPath.class.php'); $authHandler = new PrivilegeAuthorizationHandler; $user = new PrivilegeUser; $controller->setAuthorizationHandler($authHandler); $controller->setUser($user); $controller->dispatch();
require_once('webapp/config.php'); require_once(MOJAVI_FILE); //$controller =& Controller::getInstance(); $controller = new Controller(); $controller->getInstance(); require_once(AUTH_DIR . 'PrivilegeAuthorizationHandler.class.php'); require_once(USER_DIR . 'PrivilegeUser.class.php'); require_once (LIB_DIR.'/RequestPath.class.php'); $authHandler = new PrivilegeAuthorizationHandler; $user = new PrivilegeUser; $controller->setAuthorizationHandler($authHandler); $controller->setUser($user); $controller->dispatch();
function getInstance ($contentType = 'html') { $instance = new Controller($contentType); return $instance; }
require_once('webapp/config.php'); require_once(MOJAVI_FILE); //$controller =& Controller::getInstance(); $controller = new Controller(); //$controller->getInstance(); require_once(AUTH_DIR . 'PrivilegeAuthorizationHandler.class.php'); require_once(USER_DIR . 'PrivilegeUser.class.php'); require_once (LIB_DIR.'/RequestPath.class.php'); $authHandler = new PrivilegeAuthorizationHandler; $user = new PrivilegeUser; $controller->setAuthorizationHandler($authHandler); $controller->setUser($user); $controller->dispatch();
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง