From c220da99596c4fbca3a4413dbf880dbfc8fd0121 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 24 Jan 2014 06:20:12 -0500
Subject: [PATCH] changed sql-query and make ure that the backup-sub-dir exists
---
interface/web/admin/index.php | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/interface/web/admin/index.php b/interface/web/admin/index.php
index 3691df1..7cbfddb 100644
--- a/interface/web/admin/index.php
+++ b/interface/web/admin/index.php
@@ -34,14 +34,14 @@
var $target = '';
function render() {
-
+
global $app;
-
+
$app->uses('tpl');
$app->tpl->newTemplate("form.tpl.htm");
- $app->tpl->setVar('error',$error);
- $app->tpl->setInclude('content_tpl','admin/templates/index.htm');
+ $app->tpl->setVar('error', $error);
+ $app->tpl->setInclude('content_tpl', 'admin/templates/index.htm');
return $app->tpl->grab();
/*
$filename = 'test.txt';
@@ -69,10 +69,11 @@
-
+
return 'dd';
*/
}
+
}
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1