Hi,
I found a bug, which appears on my configuration with Nginx. In my case, $_SERVER['PHP_SELF'] is always empty, and the scriptname contained in the variable $_SERVER['SCRIPT_NAME']. So it should be corrected in function i18n_load_texts() line:
should be replaced by:
I found a bug, which appears on my configuration with Nginx. In my case, $_SERVER['PHP_SELF'] is always empty, and the scriptname contained in the variable $_SERVER['SCRIPT_NAME']. So it should be corrected in function i18n_load_texts() line:
PHP Code:
if (basename($_SERVER['PHP_SELF']) == 'index.php') {
PHP Code:
if (basename(empty($_SERVER['PHP_SELF']) ? $_SERVER['SCRIPT_NAME'] : $_SERVER['PHP_SELF']) == 'index.php') {