Changeset 2979
- Timestamp:
- 12/08/06 20:44:57 (2 years ago)
- Files:
-
- tools/lime/lib/lime.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/lib/lime.php
r2977 r2979 380 380 { 381 381 $path = getenv('PATH') ? getenv('PATH') : getenv('Path'); 382 $exe_suffixes = OS_WINDOWS? (getenv('PATHEXT') ? explode(PATH_SEPARATOR, getenv('PATHEXT')) : array('.exe', '.bat', '.cmd', '.com')) : array();382 $exe_suffixes = substr(PHP_OS, 0, 3) == 'WIN' ? (getenv('PATHEXT') ? explode(PATH_SEPARATOR, getenv('PATHEXT')) : array('.exe', '.bat', '.cmd', '.com')) : array(); 383 383 foreach (array('php5', 'php') as $php_cli) 384 384 {