예제 #1
0
파일: Command.php 프로젝트: sinkdb/events
 function redirect()
 {
     $path = $this->getURI();
     NQ::close();
     header('HTTP/1.1 303 See Other');
     header("Location: {$path}");
     Events::quit();
 }
예제 #2
0
 static function goBack()
 {
     $path = $_SERVER['SCRIPT_NAME'] . '?module=events&events_goback=true';
     header('HTTP/1.1 303 See Other');
     header("Location: {$path}");
     Events::quit();
 }