Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion console.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function exceptionHandler($exception) {
exit(1);
}
try {
require_once 'lib/base.php';
require_once __DIR__ . '/lib/base.php';

// set to run indefinitely if needed
set_time_limit(0);
Expand Down
2 changes: 1 addition & 1 deletion cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

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);
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
}

try {
require_once 'lib/base.php';

require_once __DIR__ . '/lib/base.php';

OC::handleRequest();

Expand Down
2 changes: 1 addition & 1 deletion ocs-provider/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

require_once('../lib/base.php');
require_once __DIR__ . '/../lib/base.php';

header('Content-Type: application/json');

Expand Down
2 changes: 1 addition & 1 deletion ocs/providers.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
*/

require_once '../lib/base.php';
require_once __DIR__ . '/../lib/base.php';

header('Content-type: application/xml');

Expand Down
2 changes: 1 addition & 1 deletion ocs/v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ocs/v2.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
*
*/

require_once 'v1.php';
require_once __DIR__ . '/v1.php';
2 changes: 1 addition & 1 deletion public.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
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
Expand Down
2 changes: 1 addition & 1 deletion remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function resolveService($service) {
}

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
Expand Down
2 changes: 1 addition & 1 deletion status.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

try {

require_once 'lib/base.php';
require_once __DIR__ . '/lib/base.php';

$systemConfig = \OC::$server->getSystemConfig();

Expand Down