aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 5cc0fbb35..c6576f1ea 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -122,6 +122,7 @@ if (script_basename() == 'picture') // basename without file extention
}
$page = array_merge( $page, parse_section_url( $tokens, $next_token) );
+
if ( !isset($page['section']) )
{
$page['section'] = 'categories';
@@ -156,10 +157,7 @@ if ( !isset($page['section']) )
}
}
-
$page = array_merge( $page, parse_well_known_params_url( $tokens, $next_token) );
-
-
if ( script_basename()=='picture' and 'categories'==$page['section'] and
!isset($page['category']) and !isset($page['chronology_field']) )
{ //access a picture only by id, file or id-file without given section