mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-06 07:28:29 -05:00
Supprime fonction small_hash dans install.php
Elle était redondante avec la fonction définie dans lib/lib_rss.php
This commit is contained in:
@@ -79,12 +79,6 @@ function writeArray ($f, $array) {
|
||||
}
|
||||
}
|
||||
|
||||
// tiré de Shaarli de Seb Sauvage //Format RFC 4648 base64url
|
||||
function small_hash ($txt) {
|
||||
$t = rtrim (base64_encode (hash ('crc32', $txt, true)), '=');
|
||||
return strtr ($t, '+/', '-_');
|
||||
}
|
||||
|
||||
// gestion internationalisation
|
||||
$translates = array ();
|
||||
$actual = 'en';
|
||||
|
||||
Reference in New Issue
Block a user