|
@@ 265-271 (lines=7) @@
|
| 262 |
|
$_theme = $server_theme['default']; |
| 263 |
|
} |
| 264 |
|
|
| 265 |
|
if (isset($_REQUEST['database']) |
| 266 |
|
&& isset($server_theme['db'][$_REQUEST['database']]) |
| 267 |
|
&& array_key_exists($server_theme['db'][$_REQUEST['database']], $themefolders) |
| 268 |
|
) { |
| 269 |
|
$_theme = $server_theme['db'][$_REQUEST['database']]; |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
if (isset($_server_info['username']) |
| 273 |
|
&& isset($server_theme['user'][$_server_info['username']]) |
| 274 |
|
&& array_key_exists($server_theme['user'][$_server_info['username']], $themefolders) |
|
@@ 272-277 (lines=6) @@
|
| 269 |
|
$_theme = $server_theme['db'][$_REQUEST['database']]; |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
if (isset($_server_info['username']) |
| 273 |
|
&& isset($server_theme['user'][$_server_info['username']]) |
| 274 |
|
&& array_key_exists($server_theme['user'][$_server_info['username']], $themefolders) |
| 275 |
|
) { |
| 276 |
|
$_theme = $server_theme['user'][$_server_info['username']]; |
| 277 |
|
} |
| 278 |
|
} |
| 279 |
|
// if any of the above conditions had set the $_theme variable |
| 280 |
|
// then we store it in the session and a cookie |