Skip to main content

Include custom php/js/css files

In order to include your custom code (that will be included in every page) you need to register the new file with this call:

SDK::setUtil($src);
$src : php file path and file name to be included

To remove the customization:

SDK::unsetUtil($src);
$src : php file path and file name to be removed (the file will NOT be removed from disk)

In case of css/js file you can call:

Hooks:
include/Webservices/Utils.php
include/squirrelmail/src/redirect.php
install/PopulateSeedData.php
index.php