mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
[SearchEngine] Fix build on 32bit systems
This commit is contained in:
@@ -137,7 +137,7 @@ class sphinx_configuration
|
||||
foreach ($lb as $id => $params) {
|
||||
|
||||
$serialized = str_replace(array('.', '%'), '_', sprintf('%s_%s_%s_%s', $params['host'], $params['port'], $params['user'], $params['dbname']));
|
||||
$index_crc = crc32($serialized);
|
||||
$index_crc = sprintf("%u", crc32($serialized));
|
||||
|
||||
$conf .= '
|
||||
|
||||
|
Reference in New Issue
Block a user