Menu

#2 idCGIRunner : using the declared php.ini

open
nobody
None
5
2007-07-03
2007-07-03
No

And the second one.
Sorry, two commits for me :)

Index: idCGIRunner.pas

--- idCGIRunner.pas (revision 273)
+++ idCGIRunner.pas (revision 274)
@@ -456,12 +456,12 @@
Command-line must include a reference to the PHP.ini path if initialized
Furthermore, we don't worry any longer about blanks in path (neither cgi.exe nor php.ini)
*}
- LocalDoc := '""' + LocalDoc;
+ LocalDoc := '"' + LocalDoc;
if FPHPIniPath <> '' then LocalDoc := LocalDoc + '" -c "' + FPHPIniPath;
- LocalDoc := LocalDoc + '""';
+ LocalDoc := LocalDoc + '"';

if Win32Platform = VER_PLATFORM_WIN32_NT then
- shell_cmd := 'CMD.EXE /C ' + LocalDoc else
+ shell_cmd := 'CMD.EXE /C "' + LocalDoc + '"' else
shell_cmd := 'COMMAND.COM /C ' + LocalDoc;
// shell_cmd := LocalDoc;
if CreateProcess(nil,

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.