function _run($skin)
{
- global $globals, $platal, $TIME_BEGIN;
+ global $globals, $TIME_BEGIN;
session_write_close();
$this->assign("xorg_errors", $this->_errors);
$this->assign("xorg_failure", $this->_failure);
$this->assign('globals', $globals);
- $this->assign('platal', $platal);
switch ($this->_page_type) {
case NO_SKIN:
$this->path = 'index';
}
- $page->assign_by_ref('platal', $this);
+ $page->assign('platal', $this);
switch ($this->call_hook($page)) {
case PL_FORBIDDEN:
$this->__mods['core']->handler_403($page);
$this->__mods['core']->handler_404($page);
break;
}
+
+ $page->assign('platal', $this);
$page->run();
}