mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
feature 2368: better canonical URL for homepage
git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
7a28277196
commit
65bb5d44b6
2 changed files with 10 additions and 1 deletions
|
@ -157,6 +157,7 @@ if ( !isset($page['section']) )
|
|||
redirect($random_index_redirect[mt_rand(0, count($random_index_redirect)-1)]);
|
||||
}
|
||||
}
|
||||
$page['is_homepage'] = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue