|
4135 - trunk/Template/tests [eZComponents: Trunk]: msg#00308web.ezcomponents.cvs
Author: Raymond Bosman Date: 2006-11-30 09:42:04 +0100 (Thu, 30 Nov 2006) New Revision: 4135 Log: - Fixed problem that a default editor wasn't loaded. Modified: trunk/Template/tests/regression_test.php Modified: trunk/Template/tests/regression_test.php =================================================================== --- trunk/Template/tests/regression_test.php 2006-11-29 17:20:39 UTC (rev 4134) +++ trunk/Template/tests/regression_test.php 2006-11-30 08:42:04 UTC (rev 4135) @@ -364,10 +364,7 @@ } elseif ( $reply == "ge" || $reply == "ee" ) { - if( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) - { - $editor = ( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) ? $_ENV["EDITOR"] : "vi"; - } + $editor = ( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) ? $_ENV["EDITOR"] : "vi"; if( $reply == "ge" ) { @@ -379,10 +376,7 @@ } elseif ( $reply == "es" ) { - if( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) - { - $editor = ( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) ? $_ENV["EDITOR"] : "vi"; - } + $editor = ( isset($_ENV["EDITOR"] ) && $_ENV["EDITOR"] != "" ) ? $_ENV["EDITOR"] : "vi"; passthru( $editor . " " . escapeshellcmd( $tplSource ) ); continue; |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 4134 - in trunk/Template/src: . parsers/source_to_tst/implementations [eZComponents: Trunk]: 00308, Raymond Bosman |
|---|---|
| Next by Date: | 4136 - in trunk/Graph: . src src/driver src/exceptions src/options tests tests/data/compare [eZComponents: Trunk]: 00308, Kore Nordmann |
| Previous by Thread: | 4134 - in trunk/Template/src: . parsers/source_to_tst/implementations [eZComponents: Trunk]i: 00308, Raymond Bosman |
| Next by Thread: | 4136 - in trunk/Graph: . src src/driver src/exceptions src/options tests tests/data/compare [eZComponents: Trunk]: 00308, Kore Nordmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |