more Fixes
This commit is contained in:
parent
1d586553e0
commit
66a92263a5
1 changed files with 1 additions and 3 deletions
|
@ -146,7 +146,6 @@ class dump{
|
||||||
if($prefix!='as_'){
|
if($prefix!='as_'){
|
||||||
$this->file= preg_replace('/as_/',$prefix,$this->file);
|
$this->file= preg_replace('/as_/',$prefix,$this->file);
|
||||||
}
|
}
|
||||||
$i=0;
|
|
||||||
$statements=array();
|
$statements=array();
|
||||||
|
|
||||||
//HACK: We have ; in our Statements. This is to prevent String splitting there.
|
//HACK: We have ; in our Statements. This is to prevent String splitting there.
|
||||||
|
@ -155,9 +154,8 @@ class dump{
|
||||||
|
|
||||||
$lines=explode("\n",$this->file);
|
$lines=explode("\n",$this->file);
|
||||||
$this->file='';
|
$this->file='';
|
||||||
$linecount= count($lines);
|
|
||||||
for ($i = 0; $i < count($lines); $i++){
|
for ($i = 0; $i < count($lines); $i++){
|
||||||
if ( $lines[$i][0] != '#' && substr($lines[$i],0,2) != '--'){
|
if (!str_starts_with($lines[$i], '#') && !str_starts_with($lines[$i], '--')){
|
||||||
$this->file.=stripslashes($lines[$i]);
|
$this->file.=stripslashes($lines[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue