Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/156704

Change subject: Use __DIR__ instead of the CWD
......................................................................

Use __DIR__ instead of the CWD

Change-Id: Ib5bdf39f9b6afaf9a01174dbb8d381dd4fe1d40b
---
M rpc/RunJobs.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/04/156704/1

diff --git a/rpc/RunJobs.php b/rpc/RunJobs.php
index d16d418..2b39cbb 100644
--- a/rpc/RunJobs.php
+++ b/rpc/RunJobs.php
@@ -24,7 +24,7 @@
        die( "Request must use POST.\n" );
 }
 
-require_once( '../multiversion/MWVersion.php' );
+require_once( __DIR__ . '/../multiversion/MWVersion.php' );
 $wiki = isset( $_GET['wiki'] ) ? $_GET['wiki'] : '';
 require getMediaWiki( 'includes/WebStart.php', $wiki );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/156704
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5bdf39f9b6afaf9a01174dbb8d381dd4fe1d40b
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to