Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //This is a dirty workaround. Try it only if knew what you are doing.
- //make sure to adjust the path or make sure the language ini file is also located in same folder as this script
- error_reporting(E_ALL);
- if(function_exists('parse_ini_file')) {
- $ini_array = parse_ini_file('en-GB.com_example.ini');
- print_r($ini_array);
- }else {
- echo 'Sorry parse_ini_file function is disabled in your PHP settings. Enable it before running this script';
- }
- //if you get the output of the language strings all ok. If you get a fatal error, you will see where the error occurs.
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement