Seditio Source
Root |
./othercms/ips_4.3.4/applications/cms/hooks/Theme.php
//<?php

/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
    exit;
}

class
cms_hook_Theme extends _HOOK_CLASS_
{
   
/**
     * This method is executed when theme settings have changed from saveForm()
     *
     * @param    int        $setId        Theme set id
     * @erturn  void
     */
   
public static function themeSettingsHaveChanged( $setId )
    {
        \
IPS\cms\Pages\Page::deleteCachedIncludes();
       
       
parent::themeSettingsHaveChanged( $setId );
    }

}