XoopsModules25x/lexikon

View on GitHub
include/onupdate.inc.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

// referer check
$ref = xoops_getenv('HTTP_REFERER');
if ('' == $ref || 0 === mb_strpos($ref, XOOPS_URL . '/modules/system/admin.php')) {
    /* module specific part */

    /* General part */

    // Keep the values of block's options when module is updated (by nobunobu)
    require __DIR__ . '/updateblock.inc.php';
}