Adicionada a lingua pt aos menus

This commit is contained in:
Nuno Miguel Reis
2012-10-11 00:01:42 +00:00
parent 8c32fd31bb
commit c8deeea07a
6 changed files with 131 additions and 86 deletions

View File

@@ -26,6 +26,13 @@
include "root.php";
require_once "includes/require.php";
require_once "includes/Logging.php";
// Logging class initialization
$log = new Logging();
// set path and name of log file (optional)
$log->lfile('/tmp/mylog.txt');
//if reloadxml then run the command
if (isset($_SESSION["reload_xml"])) {
if (strlen($_SESSION["reload_xml"]) > 0) {
@@ -72,7 +79,7 @@ require_once "includes/require.php";
else {
$content = '';
}
$log->lwrite($_SESSION['domain']['menu']['uuid']);
//get the parent id
$sql = "select * from v_menu_items ";
$sql .= "where menu_uuid = '".$_SESSION['domain']['menu']['uuid']."' ";