Fixes error.php - Fixes error when path replacement string occurrence count is no more than 0 (i.e. root) - Optimized codes and locale inclusion.
Fixes error.php - Fixes error when path replacement string occurrence count is no more than 0 (i.e. root)
- Optimized codes and locale inclusion.

Jugolo/PHP-Fusion,php-fusion/PHP-Fusion,AlexL777/PHP-Fusion,helmuthm/PHP-Fusion,ALTUN69/PHP-Fusion,slb4life/php-fusion,Jugolo/PHP-Fusion,helmuthm/PHP-Fusion,Dahlgren/PHP-Fusion,AlexL777/PHP-Fusion,ALTUN69/PHP-Fusion,slb4life/php-fusion,ALTUN69/PHP-Fusion,Jugolo/PHP-Fusion,helmuthm/PHP-Fusion,slb4life/php-fusion,php-fusion/PHP-Fusion,AlexL777/PHP-Fusion,Dahlgren/PHP-Fusion,Dahlgren/PHP-Fusion,php-fusion/PHP-Fusion