mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 08:33:03 +02:00
Feature_1255 :
- single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user