exit(1);
}
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
// set to run indefinitely if needed
set_time_limit(0);
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
if (\OCP\Util::needUpgrade()) {
\OCP\Util::writeLog('cron', 'Update required, skipping cron', \OCP\Util::DEBUG);
}
try {
-
- require_once 'lib/base.php';
+
+ require_once __DIR__ . '/lib/base.php';
OC::handleRequest();
*
*/
-require_once('../lib/base.php');
+require_once __DIR__ . '/../lib/base.php';
header('Content-Type: application/json');
*
*/
-require_once '../lib/base.php';
+require_once __DIR__ . '/../lib/base.php';
header('Content-type: application/xml');
*
*/
-require_once '../lib/base.php';
+require_once __DIR__ . '/../lib/base.php';
if (\OCP\Util::needUpgrade()
|| \OC::$server->getSystemConfig()->getValue('maintenance', false)
*
*/
-require_once 'v1.php';
+require_once __DIR__ . '/v1.php';
*/
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
if (\OCP\Util::needUpgrade()) {
// since the behavior of apps or remotes are unpredictable during
// an upgrade, return a 503 directly
}
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
// All resources served via the DAV endpoint should have the strictest possible
// policy. Exempted from this is the SabreDAV browser plugin which overwrites
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
$systemConfig = \OC::$server->getSystemConfig();