mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
Add Safe PHP functions
This commit is contained in:
parent
04a956886a
commit
58cc098058
260 changed files with 49458 additions and 45 deletions
|
@ -1,6 +1,11 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
|
||||
use function Safe\substr;
|
||||
use function Safe\file_get_contents;
|
||||
use function Safe\preg_replace;
|
||||
use function Safe\json_decode;
|
||||
|
||||
// Get a semi-random ID to identify this request within the log.
|
||||
$requestId = substr(sha1(time() . rand()), 0, 8);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue