]> git.mxchange.org Git - friendica.git/commitdiff
fix jenkins tests
authorfriendica <info@friendica.com>
Thu, 22 Nov 2012 13:06:15 +0000 (05:06 -0800)
committerfriendica <info@friendica.com>
Thu, 22 Nov 2012 13:06:15 +0000 (05:06 -0800)
include/items.php
mod/item.php

index 4ef26fbda8a9fc6885a05b4dcac1ce6d86097ece..95676ac056ae246b50f46e40c48717d68267aac1 100755 (executable)
@@ -885,7 +885,7 @@ function item_store($arr,$force_parent = false) {
 
 
        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']);
                $l = new Text_LanguageDetect;
                $lng = $l->detectConfidence($naked_body);
index 6dbe99dfd0fd0918a23b9b9e307876b1084a593a..6bd856b96d0377b45a64303165864967d838f863 100644 (file)
@@ -18,7 +18,7 @@
 require_once('include/crypto.php');
 require_once('include/enotify.php');
 require_once('include/email.php');
-require_once('Text/LanguageDetect.php');
+require_once('library/langdet/Text/LanguageDetect.php');
 
 function item_post(&$a) {