1
0
Fork 0
mirror of https://github.com/Oreolek/Togataltu.git synced 2024-05-04 18:18:27 +03:00
Togataltu/phpmorphy/bin/gen_fsa.php
2011-04-22 18:32:32 +07:00

17 lines
391 B
PHP

#!/usr/bin/php
<?php
if(2 == (ini_get('mbstring.func_overload') & 2)) {
die("don`t overload string functions in mbstring extension, see mbstring.func_overload option");
}
require_once(dirname(__FILE__) . '/../utils/autogen/fsa/gen.php');
$fsa_dir = dirname(__FILE__) . '/../src/fsa/access';
try {
generate_fsa_files($fsa_dir);
} catch (Exception $e) {
echo $e;
exit(1);
}