Version 4.1.19
This commit is contained in:
1 parent
28bd025b35
commit
2bd5025018
2674 files changed
+233518
-77766
No files matched your search
@@ -1,5 +1,11 @@
|
||||
//<?php
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
class cms_hook_Database extends _HOOK_CLASS_
|
||||
{
|
||||
|
||||
@@ -12,6 +18,8 @@ class cms_hook_Database extends _HOOK_CLASS_
|
||||
public function __construct()
|
||||
{
|
||||
$this->initLoad[] = 'cms_menu';
|
||||
$this->initLoad[] = 'cms_databases';
|
||||
$this->initLoad[] = 'pages_page_urls';
|
||||
|
||||
/* Hand over to normal method */
|
||||
parent::__construct();
|
||||
|
||||
Reference in new issue
Block a user