Language cookie check improvements
Language cookie check improvements

No need to check if is empty as the preg_match takes care of that
No need to check for global.php since this check should be done only in Administration when a language is enabled. The less checks we have with every page request the better.
Talocha/PHP-Fusion,slb4life/php-fusion,Talocha/PHP-Fusion,AlexL777/PHP-Fusion,dialektika/PHP-Fusion,ALTUN69/PHP-Fusion,ALTUN69/PHP-Fusion,helmuthm/PHP-Fusion,Talocha/PHP-Fusion,php-fusion/PHP-Fusion,Jugolo/PHP-Fusion,ALTUN69/PHP-Fusion,Jugolo/PHP-Fusion,Dahlgren/PHP-Fusion,php-fusion/PHP-Fusion,Dahlgren/PHP-Fusion,AlexL777/PHP-Fusion,slb4life/php-fusion,AlexL777/PHP-Fusion,helmuthm/PHP-Fusion,Dahlgren/PHP-Fusion,slb4life/php-fusion,Talocha/PHP-Fusion,dialektika/PHP-Fusion,Jugolo/PHP-Fusion,helmuthm/PHP-Fusion,php-fusion/PHP-Fusion,dialektika/PHP-Fusion