Development

Changeset 8913

You must first sign up to be able to contribute.

Changeset 8913

Show
Ignore:
Timestamp:
05/12/08 23:52:27 (5 months ago)
Author:
dwhittle
Message:

dwhittle: added log option to sfFilesystem::sh to control verbosity

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dwhittle/1.1/lib/task/sfFilesystem.class.php

    r8154 r8913  
    262262   * @param string The command to execute on the shell 
    263263   */ 
    264   public function sh($cmd) 
    265   { 
    266     $this->logSection('exec ', $cmd); 
     264  public function sh($cmd, $log = true) 
     265  { 
     266    if($log === true) 
     267    { 
     268      $this->logSection('exec ', $cmd); 
     269    } 
    267270 
    268271    ob_start();