Procházet zdrojové kódy

Add the text class to more of the applications.

Mark Crane před 10 roky
rodič
revize
8e96ece83a
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  1. 2 5
      exec.php

+ 2 - 5
exec.php

@@ -36,11 +36,8 @@ else {
 }
 
 //add multi-lingual support
-	require_once "app_languages.php";
-	foreach($text as $key => $value) {
-		$text[$key] = $value[$_SESSION['domain']['language']['code']];
-	}
-
+	$language = new text;
+	$text = $language->get();
 
 //get the html values and set them as variables
 	if (count($_POST)>0) {