From c09f04b45a61b3f6f137c3de357423ac71eacc87 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Thu, 28 Jun 2012 11:45:51 +0000
Subject: [PATCH] Bugfix: Apache2 plugin uses app->system before including it.

---
 server/plugins-available/apache2_plugin.inc.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 0e873ad7f..bcd05254d 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -1355,6 +1355,7 @@ class apache2_plugin {
 
 		// load the server configuration options
 		$app->uses('getconf');
+		$app->uses('system');
 		$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
 		
 		$app->system->web_folder_protection($data['new']['document_root'],false);
@@ -2336,4 +2337,4 @@ class apache2_plugin {
 
 } // end class
 
-?>
\ No newline at end of file
+?>
-- 
GitLab