summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f5e9c6d)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
{
if(preg_match('/\/photoview\/|\/photo\/|\/tag\//', $request_uri)) {
{
if(preg_match('/\/photoview\/|\/photo\/|\/tag\//', $request_uri)) {
- unset($_SESSION['start_action']);
- unset($_SESSION['selected_tags']);
-
$options = explode('/', $request_uri);
switch($options[1]) {
case 'photoview':
if(is_numeric($options[2])) {
$options = explode('/', $request_uri);
switch($options[1]) {
case 'photoview':
if(is_numeric($options[2])) {
+ $this->session_cleanup();
+ //unset($_SESSION['start_action']);
+ //unset($_SESSION['selected_tags']);
$_GET['mode'] = 'showp';
return $this->showPhoto($options[2]);
}
$_GET['mode'] = 'showp';
return $this->showPhoto($options[2]);
}
$this->resetTagSearch();
$this->resetNameSearch();
$this->resetDateSearch();
$this->resetTagSearch();
$this->resetNameSearch();
$this->resetDateSearch();