Changeset 4256
- Timestamp:
- 06/19/07 08:04:57 (1 year ago)
- Files:
-
- tools/lime/trunk/lib/lime.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/lime/trunk/lib/lime.php
r4246 r4256 420 420 function __construct($output_instance, $php_cli = null) 421 421 { 422 if (getenv('PHP_PATH')) 423 { 424 $this->php_cli = getenv('PHP_PATH'); 425 426 if (!is_executable($this->php_cli)) 427 { 428 throw new Exception('The defined PHP_PATH environment variable is not a valid PHP executable.'); 429 } 430 } 431 422 432 $this->php_cli = null === $php_cli ? PHP_BINDIR.DIRECTORY_SEPARATOR.'php' : $php_cli; 433 423 434 if (!is_executable($this->php_cli)) 424 435 {