Voor photostation 4 gaat 't net even anders:
- de regel 'include("../blog/include/misc.php");' kan vervallen
- de functienaam op de volgende regel wordt: 'SYNOPHOTO_MISC_AddLog' i.p.v. 'SYNOBLOG_MISC_AddLog'
Dus:if (isset($_SESSION['admin_syno_user']) && $_SESSION['admin_syno_user'] == $SYNOPHOTO_ADMIN_PASS &&
preg_match('/^(default|customize|style_01|style_02|style_03|style_04|style_05|style_06)$/', $_GET['style'])) {
$theme_name = $_GET['style'];
} else {
$theme_name = SYNOPHOTO_MISC_GetConfig('photo', "photo_style_type", 'photo_config');
if (!isset($_SESSION['reg_syno_user']) && !isset($_SESSION['admin_syno_user'])) {
SYNOPHOTO_MISC_AddLog("Anonymous visit from "."[".$_SERVER['REMOTE_ADDR']."]", "false", "Guest");
}
}
Wizjos