BUG 5163 fixing ?php tags

in many files
This commit is contained in:
Fernando Ontiveros
2011-04-25 16:29:38 -04:00
parent a3ed0d2026
commit f10eece924
27 changed files with 52 additions and 1650 deletions

View File

@@ -122,7 +122,7 @@
$aFields=array("_FILENAME_"=>basename( $filename ) );
$value = G::replaceDataField( $value , $aFields );
$aOrigin = file( $filename);
//It suposse that allway start with <? or <?php
//It suposse that allway start with <?. or <?php
$line=$aOrigin[0];
$nl=(strlen($line)>=2)&&(substr($line,-2,2)=="\r\n")?
"\r\n":
@@ -154,7 +154,7 @@
function add_permission($filename,$value)
{
$aOrigin = file( $filename);
//It suposse that allway start with <? or <?php
//It suposse that allway start with <?. or <?php
$aSource[0]=$aOrigin[0];
$line=$aOrigin[0];
$nl=(strlen($line)>=2)&&(substr($line,-2,2)=="\r\n")?