fix jenkins tests
This commit is contained in:
parent
868bdc9b6a
commit
9835efc9e4
|
@ -885,7 +885,7 @@ function item_store($arr,$force_parent = false) {
|
||||||
|
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
|
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
|
||||||
require_once('Text/LanguageDetect.php');
|
require_once('library/langdet/Text/LanguageDetect.php');
|
||||||
$naked_body = preg_replace('/\[(.+?)\]/','',$arr['body']);
|
$naked_body = preg_replace('/\[(.+?)\]/','',$arr['body']);
|
||||||
$l = new Text_LanguageDetect;
|
$l = new Text_LanguageDetect;
|
||||||
$lng = $l->detectConfidence($naked_body);
|
$lng = $l->detectConfidence($naked_body);
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
require_once('include/crypto.php');
|
require_once('include/crypto.php');
|
||||||
require_once('include/enotify.php');
|
require_once('include/enotify.php');
|
||||||
require_once('include/email.php');
|
require_once('include/email.php');
|
||||||
require_once('Text/LanguageDetect.php');
|
require_once('library/langdet/Text/LanguageDetect.php');
|
||||||
|
|
||||||
function item_post(&$a) {
|
function item_post(&$a) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user