Browse Source

Ehh, zapomniałem o tym przy commicie

git-svn-id: https://svn.pioder.pl/sg-svn@15 3ed2631f-fe0d-47e0-9194-a46bc0f18ee8
master
chp1994 15 years ago
parent
commit
92387e5261
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      robocze/functions.php

+ 4
- 1
robocze/functions.php View File

@ -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 ||

Loading…
Cancel
Save