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 : the php file path and the file name to be included

To remove the customization:

SDK::unsetUtil($src);

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

In case of css/js file you can call:

$id : module id that register the customization (in this case, SDK, 31)
$type : can be “HEADERCSS” or “HEADERSCRIPT”
$file : the php file path and the file name to be included

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

Back to top