summaryrefslogtreecommitdiffstats
path: root/settings.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
commit797edb75a159f4bce2a5df1d6a04905caf85d563 (patch)
tree7c8e10d43045036293a81b65e3c8ea0deae48385 /settings.php
parentf3e249a4a24548fb1487aec76113b5e1216db75c (diff)
created a stub for the News app
Diffstat (limited to 'settings.php')
-rw-r--r--settings.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings.php b/settings.php
new file mode 100644
index 000000000..2fc3d0804
--- /dev/null
+++ b/settings.php
@@ -0,0 +1,13 @@
+<?php
+
+OC_Util::checkAdminUser();
+
+OC_Util::addScript( "news", "admin" );
+
+$tmpl = new OC_Template( 'news', 'settings');
+
+$tmpl->assign('url',OC_Config::getValue( "somesetting", '' ));
+
+return $tmpl->fetchPage();
+
+?>