Show
Ignore:
Timestamp:
07/03/09 23:30:46 (13 months ago)
Author:
jwage
Message:

[1.2]1.0? Fixing tests run.php

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/EventLoggable/branches/1.2-1.0/tests/run.php

    r6004 r6005  
    11<?php 
     2 
     3if (isset($argv[1])) { 
     4  $_SERVER['DOCTRINE_DIR'] = $argv[1]; 
     5  unset($argv[1]); 
     6  $_SERVER['argv'] = array_values($argv); 
     7} 
     8 
     9if (isset($_REQUEST['doctrine_dir'])) { 
     10  $_SERVER['DOCTRINE_DIR'] = $_REQUEST['doctrine_dir']; 
     11} 
    212 
    313if ( ! isset($_SERVER['DOCTRINE_DIR'])) {