Commits

lornajane committed 8fbcca1

minor syntax error, isexecutable should be is_executable

Comments (0)

Files changed (1)

Trunk/VersionControl/Hg/Executable.php

         if (null !== $path) {
             //@TODO Do we care to use the CUSTOMEXECUTABLE constant in this case??
             /* use the user provided path to an executable */
-            if ( isexecutable($path . DIRECTORY_SEPARATOR . $binary) ) {
+            if ( is_executable($path . DIRECTORY_SEPARATOR . $binary) ) {
                 $executables[] = $path . DIRECTORY_SEPARATOR . $binary;
 
             }