Ehh, zapomniałem o tym przy commicie
git-svn-id: https://svn.pioder.pl/sg-svn@15 3ed2631f-fe0d-47e0-9194-a46bc0f18ee8
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* @author PioDer <pioder@wp.pl>
|
||||
* @link http://suczawa.ath.cx/
|
||||
**/
|
||||
|
||||
$xhtml=true;
|
||||
|
||||
#wyświetl błąd
|
||||
function blad($msg)
|
||||
@@ -16,7 +18,8 @@ function blad($msg)
|
||||
}
|
||||
|
||||
function NaglowekXHTML()
|
||||
{
|
||||
{
|
||||
global $xhtml;
|
||||
$xhtml = preg_match('/application\/xhtml\+xml(?![+a-z])(;q=(0\.\d{1,3}|[01]))?/i',
|
||||
$_SERVER['HTTP_ACCEPT'], $xhtml) && (isset($xhtml[2])?$xhtml[2]:1) > 0 ||
|
||||
strpos($_SERVER["HTTP_USER_AGENT"], "W3C_Validator")!==false ||
|
||||
|
||||
Reference in New Issue
Block a user