. if (!defined('EG')) die('Direct access not allowed!'); class NorepeatModel extends Model_Tree { public function insert() { parent::insert(); if ($this->queryResult) { header('Refresh: 0;url=http://'.DOMAIN_NAME.$_SERVER['REQUEST_URI']); exit; } } }