You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

public.php 272B

12345678910
  1. <?php
  2. $RUNTIME_NOSETUPFS = true;
  3. //$RUNTIME_NOAPPS = TRUE;
  4. require_once('lib/base.php');
  5. $file = OCP\CONFIG::getAppValue('core', 'public_' . strip_tags($_GET['service']));
  6. if(is_null($file)){
  7. header('HTTP/1.0 404 Not Found');
  8. exit;
  9. }
  10. require_once(OC::$APPSROOT . $file);