summaryrefslogtreecommitdiffstats
path: root/appinfo/install.php
diff options
context:
space:
mode:
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