Move the access controls to the new resources/classes/text translation class.

This commit is contained in:
markjcrane
2015-12-21 00:52:40 -07:00
parent 2689f518d2
commit 0deecbe701
6 changed files with 17 additions and 22 deletions
+6 -2
View File
@@ -10,9 +10,13 @@ else {
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get variables used to control the order
$order_by = $_GET["order_by"];
$order = $_GET["order"];
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
//additional includes
require_once "resources/header.php";