From 9835efc9e44ba23964cd767b284c59d3225bb792 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 22 Nov 2012 05:06:15 -0800 Subject: [PATCH] fix jenkins tests --- include/items.php | 2 +- mod/item.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/items.php b/include/items.php index 4ef26fbda8..95676ac056 100755 --- a/include/items.php +++ b/include/items.php @@ -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); diff --git a/mod/item.php b/mod/item.php index 6dbe99dfd0..6bd856b96d 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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) {