Adamw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61492
Change subject: more path snafu
......................................................................
more path snafu
Change-Id: Ia5c7f449d292a165aab984d0813b19b7e2c40041
---
M SmashPig/Core/Http/RequestHandler.php
M SmashPig/Tests/SoapInjector/soapinject.py
2 files changed, 5 insertions(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/PaymentsListeners
refs/changes/92/61492/1
diff --git a/SmashPig/Core/Http/RequestHandler.php
b/SmashPig/Core/Http/RequestHandler.php
index d3a610d..88efaeb 100644
--- a/SmashPig/Core/Http/RequestHandler.php
+++ b/SmashPig/Core/Http/RequestHandler.php
@@ -43,6 +43,7 @@
$action = array_shift( $parts );
// --- Initialize core services ---
+ chdir( __DIR__ . "/../.." );
$config = new Configuration( 'config_defaults.php', 'config.php',
$view, true );
Logger::init( $config->val( 'logging/root-context' ), $config->val(
'logging/log-level' ), $config );
diff --git a/SmashPig/Tests/SoapInjector/soapinject.py
b/SmashPig/Tests/SoapInjector/soapinject.py
index 57fcf37..f0deb4a 100755
--- a/SmashPig/Tests/SoapInjector/soapinject.py
+++ b/SmashPig/Tests/SoapInjector/soapinject.py
@@ -6,7 +6,10 @@
from xml.parsers.expat import ExpatError
if len(sys.argv) != 4:
- print "Requires 3 arguments: host path file"
+ print """Requires 3 arguments: host path file
+For example:
+ ./soapinject.py listeners.localweb /smashpig/adyen/listener authorization.xml
+"""
exit(-1)
conn = httplib.HTTPConnection(sys.argv[1])
--
To view, visit https://gerrit.wikimedia.org/r/61492
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5c7f449d292a165aab984d0813b19b7e2c40041
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/PaymentsListeners
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits