Development

Changeset 3130

You must first sign up to be able to contribute.

Changeset 3130

Show
Ignore:
Timestamp:
01/03/07 09:09:20 (2 years ago)
Author:
fabien
Message:

lime: fixed open base dir restrictions + html errors is on (closes #1271 - patch from dwhittle)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/lime/lib/lime.php

    r3097 r3130  
    428428 
    429429      ob_start(array($this, 'process_test_output')); 
    430       passthru(sprintf('%s -q "%s" 2>&1', $this->php_cli, $file), $return); 
     430      passthru(sprintf('%s -d html_errors=off -d open_basedir= -q "%s" 2>&1', $this->php_cli, $file), $return); 
    431431      ob_end_clean(); 
    432432 
     
    584584      file_put_contents($tmp_file, $tmp); 
    585585      ob_start(); 
    586       passthru(sprintf('%s -q "%s" 2>&1', $this->harness->php_cli, $tmp_file), $return); 
     586      passthru(sprintf('%s -d html_errors=off -d open_basedir= -q "%s" 2>&1', $this->harness->php_cli, $tmp_file), $return); 
    587587      $retval = ob_get_clean(); 
    588588      if (0 == $return)