mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-02 15:03:29 +02:00
Issue ID 0000529 Re-Fixed.
Problem with "Options +MultiViews" .htaccess configuration. git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1689 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -86,7 +86,7 @@ $tokens = explode(
|
||||
// );
|
||||
|
||||
$next_token = 0;
|
||||
if (script_basename() == 'picture.php')
|
||||
if (script_basename() == 'picture') // basename without file extention
|
||||
{ // the first token must be the identifier for the picture
|
||||
if ( isset($_GET['image_id'])
|
||||
and isset($_GET['cat']) and is_numeric($_GET['cat']) )
|
||||
@@ -625,7 +625,7 @@ if (isset($page['chronology_field']))
|
||||
|
||||
$page['cat_nb_images'] = isset($page['items']) ? count($page['items']) : 0;
|
||||
|
||||
if (script_basename() == 'picture.php'
|
||||
if (script_basename() == 'picture'
|
||||
and !isset($page['image_id']) )
|
||||
{
|
||||
if ( !empty($page['items']) )
|
||||
|
||||
Reference in New Issue
Block a user