We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de066fb commit 2ac5f49Copy full SHA for 2ac5f49
src/org/netbeans/modules/php/cake3/commands/Cake3Script.java
@@ -343,8 +343,7 @@ private PhpExecutable createPhpExecutable(PhpModule phpModule) {
343
CakePHP3Module module = CakePHP3Module.forPhpModule(phpModule);
344
List<FileObject> directories = module.getDirectories(Base.APP);
345
PhpExecutable phpExecutable = new PhpExecutable(cakePath)
346
- .viaPhpInterpreter(false)
347
- .viaAutodetection(false);
+ .viaAutodetection(true);
348
if (!directories.isEmpty()) {
349
File workDir = FileUtil.toFile(directories.get(0));
350
phpExecutable = phpExecutable.workDir(workDir);
0 commit comments