Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 20 → Rev 19

/trunk/features.class.php
2,9 → 2,8
 
require_once 'global.inc';
 
$encoding = mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME']));
if ($encoding === 'ASCII') $encoding = 'iso-8859-1';
define('FEATURES_ENCODING', $encoding);
define('FEATURES_ENCODING',
mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME'])));
 
/**
* A list of language features with URNs definitions