Seditio Source
Root |
./othercms/ips_4.3.4/applications/cms/hooks/Database.php
//<?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_
{


   
/**
     * Constructor
     * Gets stores which are always needed to save individual queries
     *
     */
   
public function __construct()
    {
       
$this->initLoad[] = 'cms_menu';
       
$this->initLoad[] = 'cms_databases';
       
$this->initLoad[] = 'pages_page_urls';

       
/* Hand over to normal method */
       
parent::__construct();
    }

}