diff options
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/providers.php | 2 | ||||
-rw-r--r-- | ocs/v1.php | 2 | ||||
-rw-r--r-- | ocs/v2.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ocs/providers.php b/ocs/providers.php index be0aff8add2..9efca14768e 100644 --- a/ocs/providers.php +++ b/ocs/providers.php @@ -23,7 +23,7 @@ * */ -require_once '../lib/base.php'; +require_once __DIR__ . '/../lib/base.php'; header('Content-type: application/xml'); diff --git a/ocs/v1.php b/ocs/v1.php index 575b509b012..5aec27ad981 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -29,7 +29,7 @@ * */ -require_once '../lib/base.php'; +require_once __DIR__ . '/../lib/base.php'; if (\OCP\Util::needUpgrade() || \OC::$server->getSystemConfig()->getValue('maintenance', false) diff --git a/ocs/v2.php b/ocs/v2.php index 45f65033056..dc57431e6c6 100644 --- a/ocs/v2.php +++ b/ocs/v2.php @@ -20,4 +20,4 @@ * */ -require_once 'v1.php'; +require_once __DIR__ . '/v1.php'; |