Fix uninitialized database access
This commit is contained in:
2
chat.php
2
chat.php
@ -339,7 +339,7 @@ function print_start($class='', $ref=0, $url=''){
|
|||||||
print_stylesheet();
|
print_stylesheet();
|
||||||
}
|
}
|
||||||
echo "</head><body class=\"$class\">";
|
echo "</head><body class=\"$class\">";
|
||||||
if(($externalcss=get_setting('externalcss'))!=''){
|
if($class!=='init' && ($externalcss=get_setting('externalcss'))!=''){
|
||||||
//external css - in body to make it non-renderblocking
|
//external css - in body to make it non-renderblocking
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$externalcss\">";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$externalcss\">";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user