From kde-commits Sun Feb 02 10:13:51 2014 From: Niko Sams Date: Sun, 02 Feb 2014 10:13:51 +0000 To: kde-commits Subject: [kdevplatform] plugins/executescript: don't start php with -e option Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=139133604125804 Git commit 9e662113c6753c7a1e83c5436ec3b2ecbfe95342 by Niko Sams. Committed on 02/02/2014 at 10:13. Pushed by nsams into branch 'master'. don't start php with -e option Accoding to php docs it should 'Activate the extended information mode, to = be used by a debugger/profiler.' However if using xdebug as debugger/profiler this option is not required. I actually don't have any idea what this option does, it causes the xdebug = plugin to fail so remove it. M +1 -1 plugins/executescript/scriptappconfig.cpp http://commits.kde.org/kdevplatform/9e662113c6753c7a1e83c5436ec3b2ecbfe95342 diff --git a/plugins/executescript/scriptappconfig.cpp b/plugins/executescr= ipt/scriptappconfig.cpp index 8960294..5704143 100644 --- a/plugins/executescript/scriptappconfig.cpp +++ b/plugins/executescript/scriptappconfig.cpp @@ -53,7 +53,7 @@ static const QString interpreterForUrl(const KUrl& url) { static QHash knownMimetypes; if ( knownMimetypes.isEmpty() ) { knownMimetypes["text/x-python"] =3D "python"; - knownMimetypes["application/x-php"] =3D "php -e"; + knownMimetypes["application/x-php"] =3D "php"; knownMimetypes["application/x-ruby"] =3D "ruby"; knownMimetypes["application/x-shellscript"] =3D "bash"; knownMimetypes["application/x-perl"] =3D "perl -e";