From 0fb50b5559173e7f7483fb27d4d474feda0d1826 Mon Sep 17 00:00:00 2001 From: luis daniel lucio quiroz Date: Mon, 26 Jan 2015 18:32:08 +0000 Subject: [PATCH] upgrade.php missing class php --- .htaccess | 1 + core/upgrade/upgrade.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 92a4cd0012..5ac5a06847 100644 --- a/.htaccess +++ b/.htaccess @@ -23,3 +23,4 @@ RewriteRule ^.*/provision/([A-Fa-f0-9]{12})-registration.cfg$ app/provis RewriteRule ^.*/provision/([A-Fa-f0-9]{12})-site.cfg$ app/provision/?mac=$1&file=site.cfg [QSA] RewriteRule ^.*/provision/([A-Fa-f0-9]{12})-web.cfg$ app/provision/?mac=$1&file=web.cfg [QSA] +Options -Indexes diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index c0fad4c81d..7ef1f2e8bd 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -48,6 +48,7 @@ $format = 'html'; } + require_once "resources/classes/text.php"; //add multi-lingual support $language = new text; $text = $language->get(); @@ -101,4 +102,4 @@ require_once "resources/footer.php"; } -?> \ No newline at end of file +?>