summaryrefslogtreecommitdiffstats
path: root/appinfo/install.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 11:11:20 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 11:11:20 +0200
commita52df5cad2f9853514988b1bb43b07e812bb9316 (patch)
tree89dd47c8be24de558bbce3b37cb6d8a59002cac9 /appinfo/install.php
parent29000e2d6f49ed9b08b15a9f474dfb5b4145d800 (diff)
move config class into config folder
Diffstat (limited to 'appinfo/install.php')
-rw-r--r--appinfo/install.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/appinfo/install.php b/appinfo/install.php
new file mode 100644
index 000000000..572f21fff
--- /dev/null
+++ b/appinfo/install.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+
+namespace OCA\News\AppInfo;
+
+use \OCA\News\Config\DependencyException;
+
+
+// check for correct app dependencies and fail if possible
+$container = new Application();
+$config = $container->getAppConfig();
+$config->testDependencies(); \ No newline at end of file