diff options
| author | Bruno Ribas <brunoribas@gmail.com> | 2022-05-20 15:54:00 +0000 |
|---|---|---|
| committer | Bruno Ribas <brunoribas@gmail.com> | 2022-05-20 15:54:00 +0000 |
| commit | 7eef26459835880cd8fbec6a40f24ee46559c5c1 (patch) | |
| tree | 16607c82a157e8c47b6990dd791724c259a117cb | |
| parent | cfcc1900c2e899e2905f28f71d9613c8bf3001d5 (diff) | |
| download | boca-7eef26459835880cd8fbec6a40f24ee46559c5c1.tar.gz boca-7eef26459835880cd8fbec6a40f24ee46559c5c1.zip | |
temporary salt
| -rwxr-xr-x | src/globals.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.php b/src/globals.php index 63d4adc..a17b003 100755 --- a/src/globals.php +++ b/src/globals.php @@ -19,7 +19,6 @@ require_once('db.php'); define("dbcompat_1_4_1",true); -$uglysalt="30a2224c82dcf42e497e2a1f6bd6516b"; // sanitization function sanitizeVariables(&$item, $key) @@ -43,6 +42,7 @@ function myrawurldecode($txt) { } function filedownload($oid,$fname,$msg='') { + $uglysalt="30a2224c82dcf42e497e2a1f6bd6516b"; $cf = globalconf(); $if = myrawurlencode(encryptData($fname, $uglysalt . $cf['key'],false)); $p = myhash($oid . $fname . $msg . $uglysalt . $cf["key"]); |