Subversion Repositories PHPX

Rev

Rev 19 | Rev 21 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 20
Line 1... Line 1...
1
<?php
1
<?php
2
2
3
require_once 'global.inc';
3
require_once 'global.inc';
4
4
5
define('FEATURES_ENCODING',
-
 
6
  mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME'])));
5
$encoding = mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME']));
-
 
6
if ($encoding === 'ASCII') $encoding = 'iso-8859-1';
-
 
7
define('FEATURES_ENCODING', $encoding);
7
8
8
/**
9
/**
9
 * A list of language features with URNs definitions
10
 * A list of language features with URNs definitions
10
 * for reference links.
11
 * for reference links.
11
 */
12
 */