summaryrefslogtreecommitdiffstats
path: root/app/helpers.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers.php')
-rw-r--r--app/helpers.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers.php b/app/helpers.php
index 8765fc6..01d0086 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -14,6 +14,11 @@ function register_polyfills()
call_user_func_array('_hash_equals', func_get_args());
}
}
+
+ if (!function_exists('random_bytes')) {
+ // If this function does not exist, it will be exposed
+ // automatically by paragonie/random_compat.
+ }
}
register_polyfills();