Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in process.php
- // change this
- $translations_url = (curlEnabled()) ? $protocol.$_SERVER["HTTP_HOST"].str_replace('process.php', 'translations.json', $_SERVER["REQUEST_URI"]) : 'translations.json';
- $translations = (curlEnabled()) ? curl_file_get_contents($translations_url) : file_get_contents($translations_url);
- // to this
- $translations_url = 'translations.json';
- $translations = file_get_contents($translations_url);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement