Project

General

Profile

« Previous | Next » 

Revision 34

Added by Manuela over 6 years ago

added 3th party random_int PHP5 compatibility layer

View differences:

initialize.php
274 274
    if (!defined('MAX_DATETIME')) { define('MAX_DATETIME', ((2**31)-1)); }
275 275
    /* -------------------------------------------------------- */
276 276
    if ( !defined('WB_PATH')) { define('WB_PATH', dirname(__DIR__)); }
277
// activate Autoloader
277
// activate PHP5 randomizer compatibility layer -----------------------------------------------------
278
    if (PHP_MAJOR_VERSION < 7 && is_readable(WB_PATH.'/include/Paragonie/random.php')) {
279
        include_once WB_PATH.'/include/Paragonie/random.php';
280
    }
281
// activate Autoloader -------------------------------------------------------------------
278 282
    if (!class_exists('\bin\CoreAutoloader')) {
279 283
        include __DIR__.'/CoreAutoloader.php';
280 284
    }

Also available in: Unified diff