Development

Changeset 3129

You must first sign up to be able to contribute.

Changeset 3129

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

fixed open base dir restrictions + html errors is on (closes #1271)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/data/bin/symfony

    r2426 r3129  
    1 #!/usr/bin/env php 
     1#!/usr/bin/env php -d html_errors=off -d open_basedir= -q 
    22<?php 
    33 
  • trunk/data/bin/symfony.bat

    r2443 r3129  
    2121 
    2222IF EXIST ".\symfony" ( 
    23   %PHP_COMMAND% -d html_errors=off ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9 
     23  %PHP_COMMAND% -d html_errors=off -d open_basedir= -q ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9 
    2424) ELSE ( 
    25   %PHP_COMMAND% -d html_errors=off "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9 
     25  %PHP_COMMAND% -d html_errors=off -d open_basedir= -q "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9 
    2626) 
    2727goto cleanup 
  • trunk/test/other/tasksTest.php

    r2984 r3129  
    5050  { 
    5151    ob_start(); 
    52     passthru(sprintf('%s -q "%s" %s 2>&1', $this->php_cli, dirname(__FILE__).'/../../data/bin/symfony', $cmd), $return); 
     52    passthru(sprintf('%s -d html_errors=off -d open_basedir= -q "%s" %s 2>&1', $this->php_cli, dirname(__FILE__).'/../../data/bin/symfony', $cmd), $return); 
    5353    $content = ob_get_clean(); 
    5454    $this->t->cmp_ok($return, '<=', 0, sprintf('"symfony %s" returns ok', $cmd));