Skip to content

Commit 2ac5f49

Browse files
committed
Fix a run command problem #35
1 parent de066fb commit 2ac5f49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/org/netbeans/modules/php/cake3/commands/Cake3Script.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,7 @@ private PhpExecutable createPhpExecutable(PhpModule phpModule) {
343343
CakePHP3Module module = CakePHP3Module.forPhpModule(phpModule);
344344
List<FileObject> directories = module.getDirectories(Base.APP);
345345
PhpExecutable phpExecutable = new PhpExecutable(cakePath)
346-
.viaPhpInterpreter(false)
347-
.viaAutodetection(false);
346+
.viaAutodetection(true);
348347
if (!directories.isEmpty()) {
349348
File workDir = FileUtil.toFile(directories.get(0));
350349
phpExecutable = phpExecutable.workDir(workDir);

0 commit comments

Comments
 (0)