use replace
This commit is contained in:
parent
22b2447124
commit
25ca4168ed
|
@ -2,11 +2,10 @@
|
|||
|
||||
function clean($string)
|
||||
{
|
||||
$string = str_repeat("", "", $string);
|
||||
$string = str_replace("", "", $string);
|
||||
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
|
||||
}
|
||||
|
||||
|
||||
if(isset($_SESSION['LOGIN']))
|
||||
{
|
||||
if($_SESSION['LOGIN'] == 'true')
|
||||
|
|
Loading…
Reference in New Issue