Skip to content
This repository was archived by the owner on Mar 7, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions installer/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.')));
}
}
?>
?>
8 changes: 4 additions & 4 deletions installer/libraries.eyecode
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function lib_compat() {
<th colspan="2">' . lang_translate('installer-install-required','Required') . '</th>
<th>Yours</th>
</tr>';
$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', '<'));
Expand Down Expand Up @@ -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';
}

Expand Down Expand Up @@ -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);
Expand Down
Binary file modified package.eyepackage
Binary file not shown.