Browse Source

lang detection lib moved to compozer

master
Tobias Diekershoff 4 years ago
parent
commit
33ae19aed2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      typography.php

+ 2
- 1
typography.php 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',


Loading…
Cancel
Save