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 339B

123456789101112131415
  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. $parts=explode('/',$file);
  11. $app=$parts[2];
  12. OC_App::loadApp($app);
  13. require_once(OC::$APPSROOT . $file);