]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/crypto/class_CryptoHelper.php
Continued:
[core.git] / inc / main / classes / crypto / class_CryptoHelper.php
index 03458ee5f17f138d8f4695978bf57f4669c1d4a5..8acedc897ddb82648eec495f58650dc55abeb834 100644 (file)
@@ -142,8 +142,8 @@ class CryptoHelper extends BaseFrameworkSystem implements Cryptable {
                // Init empty UUID
                $uuid = '';
 
-               // Is the UUID extension loaded? (see pecl)
-               if ((extension_loaded('uuid')) && (function_exists('uuid_create'))) {
+               // Is the UUID extension loaded and enabled? (see pecl)
+               if ($this->getConfigInstance()->getConfigEntry('extension_uuid_loaded') === TRUE) {
                        // Then add it as well
                        $uuid = uuid_create();
                } // END - if