lang detection lib moved to compozer

This commit is contained in:
Tobias Diekershoff 2017-11-06 10:46:39 +01:00
parent 68d563fa57
commit 33ae19aed2
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,8 @@
* License: GPL 2.0
*/
use Friendica\Core\PConfig;
function typography_install () {
register_hook ('prepare_body', 'addon/typography/typography.php', 'typography_render' );
}
@ -15,7 +17,6 @@ function typography_uninstall () {
}
function typography_render ( &$a, &$o) {
require_once('php-typography/php-typography.php');
require_once('library/langdet/Text/LanguageDetect.php');
$typo = new phpTypography();
$lng_id = array(
'hu',