FIX
This commit is contained in:
parent
b545fac89f
commit
c0986a556d
|
|
@ -61,7 +61,7 @@ class PageController extends Controller
|
||||||
|
|
||||||
$point = Point::model()->getByPK($pointId);
|
$point = Point::model()->getByPK($pointId);
|
||||||
|
|
||||||
if (!isset($point->id))
|
if ($point->id == NULL)
|
||||||
{
|
{
|
||||||
App::error404();
|
App::error404();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
AddDefaultCharset utf-8
|
AddDefaultCharset utf-8
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
ErrorDocument 404 /page/404/
|
|
||||||
|
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
RewriteCond %{REQUEST_FILENAME} !-l
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue