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