This commit is contained in:
Krivchikov Dmitry 2014-11-16 10:40:19 +03:00
parent b545fac89f
commit c0986a556d
2 changed files with 1 additions and 3 deletions

View File

@ -61,7 +61,7 @@ class PageController extends Controller
$point = Point::model()->getByPK($pointId);
if (!isset($point->id))
if ($point->id == NULL)
{
App::error404();
}

View File

@ -1,8 +1,6 @@
AddDefaultCharset utf-8
RewriteEngine On
ErrorDocument 404 /page/404/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f