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:
nikrou
2009-11-29 12:35:19 +00:00
parent 13ea9d50e3
commit c96097529e
15 changed files with 101 additions and 24 deletions
+1 -3
View File
@@ -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