1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Admin login page styling fix.

This commit is contained in:
Cameron
2016-03-22 06:11:37 -07:00
parent 4c50868c93
commit 6616b52ae9
3 changed files with 19 additions and 5 deletions

View File

@@ -2323,13 +2323,19 @@ class e_http_header
}
function setContent($content)
function setContent($content,$search=null,$replace=null)
{
if($content == 'buffer')
{
$this->length = ob_get_length();
$this->content = ob_get_clean();
$this->content = ob_get_clean();
if(!empty($search) && !empty($replace))
{
$this->content = str_replace($search, $replace, $this->content);
$this->length = strlen($this->content);
}
}
else