diff --git a/.htaccess b/.htaccess index 02683a0..9671c49 100644 --- a/.htaccess +++ b/.htaccess @@ -3,16 +3,13 @@ # COMPATIBILITY # php_value arg_separator.output & - php_value disable_classes - php_value disable_functions php_value display_errors 0 php_value error_log ./logs/php.txt - php_value error_reporting 0 + php_value error_reporting 1 php_value html_errors 0 php_value magic_quotes_gpc 0 php_value magic_quotes_runtime 0 php_value magic_quotes_sybase 0 - php_value mbstring.func_overload 0 php_value register_globals 0 php_value safe_mode 0 php_value session.use_cookies 1 diff --git a/installer/index.php b/installer/index.php index c70d919..c21245d 100644 --- a/installer/index.php +++ b/installer/index.php @@ -24,7 +24,7 @@ define('INSTALL_DIR','./installer/'); define('INSTALL_INDEX','./index.html'); define('INSTALL_INSTALLER',1); -define('INSTALL_MD5', '7d4ab40b5800d0c09e11ce153dce7216'); +define('INSTALL_MD5', '7eb6403e531eb8124dc4517fe47950c3'); define('INSTALL_PACKAGE','./package.eyepackage'); define('INSTALL_SYSTEM',1); define('INSTALL_UPDATER',1); @@ -56,4 +56,4 @@ output_errors(array(lang_translate('installer-install-error-notactive','The installer part of this oneye package is disabled. Please remember to remove the installer files.'))); } } -?> \ No newline at end of file +?> diff --git a/installer/libraries.eyecode b/installer/libraries.eyecode index 96f6bbb..152908e 100644 --- a/installer/libraries.eyecode +++ b/installer/libraries.eyecode @@ -282,7 +282,7 @@ function lib_compat() { ' . lang_translate('installer-install-required','Required') . ' Yours '; - $content .= private_lib_compat('mbstring.func_overload', '0', 'red'); + #$content .= private_lib_compat('mbstring.func_overload', '0', 'red'); $content .= private_lib_compat('safe_mode', '0', 'red', version_compare(PHP_VERSION, '5.4.0', '<')); $content .= private_lib_compat('session.use_cookies', '1', 'red'); $content .= private_lib_compat('zend.ze1_compatibility_mode', '0', 'red', version_compare(PHP_VERSION, '5.3.0', '<')); @@ -439,7 +439,7 @@ function output_uninstall() { function path_account($user) { include_once('settings.php'); - $user_acronym = $user{0} . substr($user,-1) . substr(strlen($user),-1); + $user_acronym = $user[0] . substr($user,-1) . substr(strlen($user),-1); return EYE_ROOT . '/' . REAL_EYE_ROOT . '/' . ACCOUNT_DIR . '/' . $user_acronym . '/' . $user . '.xml'; } @@ -525,9 +525,9 @@ function xml_xml2array($content) { } else { $tag = $full_tag; } - if ($tag{0} == '/' || $full_tag{strlen($full_tag) - 1} == '/') { + if ($tag[0] == '/' || $full_tag[strlen($full_tag) - 1] == '/') { $content = substr($end,1); - } elseif ($tag{0} == '?') { + } elseif ($tag[0] == '?') { $content = substr(strstr($content,'?>'),2); } elseif (substr($tag,0,3) == '!--') { $content = substr(strstr($content,'-->'),3); diff --git a/package.eyepackage b/package.eyepackage index 3036d3b..c4f5108 100644 Binary files a/package.eyepackage and b/package.eyepackage differ