diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-05 22:54:14 +0200 |
commit | c996600786080c54ba853ac8311fafdd3e814e78 (patch) | |
tree | fac953a1e831f5305690be1dd5ac814b83daa726 /remote.php | |
parent | 6c2fc0cbe853027e265fdf9f1b05b75c5f92c187 (diff) | |
download | nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.tar.gz nextcloud-server-c996600786080c54ba853ac8311fafdd3e814e78.zip |
push changes
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/remote.php b/remote.php new file mode 100644 index 00000000000..e11b72ee8c2 --- /dev/null +++ b/remote.php @@ -0,0 +1,12 @@ +<?php +$RUNTIME_NOSETUPFS = true; +//$RUNTIME_NOAPPS = TRUE; +require_once('lib/base.php'); +$file = OCP\CONFIG::getAppValue('core', $_GET['service']); +if(is_null($file)){ + header('HTTP/1.0 404 Not Found'); + exit; +} +$baseuri = OC::$WEBROOT . '/remote.php?service=' . $_GET['service'] . '&p='; +parse_str($_GET['p'], $_GET); +require_once(OC::$APPSROOT . $file);
\ No newline at end of file |