mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-15 12:37:34 +08:00
support pg problem fix
This commit is contained in:
@@ -89,6 +89,9 @@ function sqlesc($value) {
|
||||
}
|
||||
|
||||
function hash_pad($hash) {
|
||||
if (is_resource($hash)) {
|
||||
$hash = stream_get_contents($hash);
|
||||
}
|
||||
return str_pad($hash, 20);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user