Source for file index.core.php
Documentation is available at index.core.php
* Обработчик первой страницы
* @author PHPShop Software
// Проверка на главную страницу
if($GLOBALS['SysValue']['nav']['truepath'] == "/")
$this->title= $meta['title']. ' - '. $this->PHPShopSystem->getValue("name");
$this->set('pageContent',$dis);
$this->set('pageTitle',$meta['title']);
$PHPShopModules->setHookHandler(__CLASS__ ,__FUNCTION__ , $this, $dis);
if(!empty($dis) and $link != "menu" and $link != "catalog") {
$this->title = $meta['title']. ' - '. $this->PHPShopSystem->getValue("name");
$this->set('pageContent',$dis);
$this->set('pageTitle',$meta['title']);
$PHPShopModules->setHookHandler(__CLASS__ ,__FUNCTION__ , $this, $dis);
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");
$this->title= "404 Not Found";
|