mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
parent
fe084b4840
commit
b6b2a283c2
4 changed files with 34 additions and 255 deletions
|
|
@ -366,13 +366,6 @@ class Context
|
|||
// check if using rewrite module
|
||||
$this->allow_rewrite = ($this->db_info->use_rewrite == 'Y' ? TRUE : FALSE);
|
||||
|
||||
// If using rewrite module, initializes router
|
||||
if($this->allow_rewrite)
|
||||
{
|
||||
$oRouter = Router::getInstance();
|
||||
$oRouter->proc();
|
||||
}
|
||||
|
||||
// set locations for javascript use
|
||||
$url = array();
|
||||
$current_url = self::getRequestUri();
|
||||
|
|
@ -1669,10 +1662,7 @@ class Context
|
|||
'act.document_srl.key.mid.vid' => ($act == 'trackback') ? "$vid/$mid/$srl/$key/$act" : ''
|
||||
);
|
||||
|
||||
$oRouter = Router::getInstance();
|
||||
$oRouter->setMap($target_map);
|
||||
|
||||
$query = $oRouter->makePrettyUrl($target);
|
||||
$query = $target_map[$target];
|
||||
}
|
||||
|
||||
if(!$query)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue