aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_textviewer/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-02 23:56:53 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-02 23:56:53 +0200
commitdd5cc8dcafb2ec8450ba82872a64d59c14724a55 (patch)
tree8347af57526bd7e008948ff5911d7a25a84a3074 /apps/files_textviewer/appinfo
parent3829b1e7b956b8c9740df2d6fea8b685abdc4875 (diff)
downloadnextcloud-server-dd5cc8dcafb2ec8450ba82872a64d59c14724a55.tar.gz
nextcloud-server-dd5cc8dcafb2ec8450ba82872a64d59c14724a55.zip
add textviewer plugin
Diffstat (limited to 'apps/files_textviewer/appinfo')
-rw-r--r--apps/files_textviewer/appinfo/app.php5
-rw-r--r--apps/files_textviewer/appinfo/info.xml14
2 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_textviewer/appinfo/app.php b/apps/files_textviewer/appinfo/app.php
new file mode 100644
index 00000000000..7cf1905a530
--- /dev/null
+++ b/apps/files_textviewer/appinfo/app.php
@@ -0,0 +1,5 @@
+<?php
+//load the required js file
+OC_UTIL::addScript('files_textviewer','textviewer');
+
+?>
diff --git a/apps/files_textviewer/appinfo/info.xml b/apps/files_textviewer/appinfo/info.xml
new file mode 100644
index 00000000000..fe2cd6335f4
--- /dev/null
+++ b/apps/files_textviewer/appinfo/info.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<plugin version='1.0'>
+ <info>
+ <id>textviewer</id>
+ <name>A simple text viewer for ownCloud</name>
+ <version>0.2</version>
+ <licence>AGPL</licence>
+ <author>Icewind</author>
+ <require>1.1</require>
+ </info>
+ <runtime>
+ <include>lib_textviewer.php</include>
+ </runtime>
+</plugin>