logo       

4135 - trunk/Template/tests [eZComponents: Trunk]: msg#00308

web.ezcomponents.cvs

Subject: 4135 - trunk/Template/tests [eZComponents: Trunk]

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>
Google Custom Search

News | FAQ | advertise