mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
fixed some .htaccess rewrites like newsarchive, which didn't showed correctly on tibiacom template and added polls/id rule
This commit is contained in:
parent
ecd279453f
commit
6658eb5f20
@ -7,7 +7,6 @@ RewriteEngine On
|
|||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^([A-Za-z0-9-_+']+)\.png/?$ tools/signature/index.php?name=$1 [L]
|
RewriteRule ^([A-Za-z0-9-_+']+)\.png/?$ tools/signature/index.php?name=$1 [L]
|
||||||
RewriteRule ^images/items/([0-9]+)\.gif$ tools/item.php?id=$1
|
|
||||||
RewriteRule ^characters/([A-Za-z0-9-_+']+)$ index.php?subtopic=characters&name=$1
|
RewriteRule ^characters/([A-Za-z0-9-_+']+)$ index.php?subtopic=characters&name=$1
|
||||||
RewriteRule ^guilds/([A-Za-z0-9-_+']+)$ index.php?subtopic=guilds&action=show&guild=$1
|
RewriteRule ^guilds/([A-Za-z0-9-_+']+)$ index.php?subtopic=guilds&action=show&guild=$1
|
||||||
RewriteRule ^forum/board/([0-9]+)$ index.php?subtopic=forum&action=show_board&id=$1
|
RewriteRule ^forum/board/([0-9]+)$ index.php?subtopic=forum&action=show_board&id=$1
|
||||||
@ -19,10 +18,11 @@ RewriteRule ^account/manage$ index.php?subtopic=accountmanagement
|
|||||||
RewriteRule ^account/create$ index.php?subtopic=createaccount
|
RewriteRule ^account/create$ index.php?subtopic=createaccount
|
||||||
RewriteRule ^account/lost$ index.php?subtopic=lostaccount
|
RewriteRule ^account/lost$ index.php?subtopic=lostaccount
|
||||||
RewriteRule ^account/logout$ index.php?subtopic=accountmanagement&action=logout
|
RewriteRule ^account/logout$ index.php?subtopic=accountmanagement&action=logout
|
||||||
RewriteRule ^news/archive/([0-9]+)$ index.php?subtopic=news&archive=true&id=$1
|
RewriteRule ^news/archive/([0-9]+)$ index.php?subtopic=newsarchive&id=$1
|
||||||
RewriteRule ^news/archive$ index.php?subtopic=news&archive=true
|
RewriteRule ^news/archive$ index.php?subtopic=newsarchive
|
||||||
RewriteRule ^highscores/([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)?$ index.php?subtopic=highscores&list=$1&vocation=$2
|
RewriteRule ^highscores/([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)?$ index.php?subtopic=highscores&list=$1&vocation=$2
|
||||||
RewriteRule ^highscores/([A-Za-z0-9-_']+)$ index.php?subtopic=highscores&list=$1
|
RewriteRule ^highscores/([A-Za-z0-9-_']+)$ index.php?subtopic=highscores&list=$1
|
||||||
|
RewriteRule ^polls/([0-9]+)$ index.php?subtopic=polls&id=$1
|
||||||
RewriteRule ^admin/$ admin/index.php
|
RewriteRule ^admin/$ admin/index.php
|
||||||
RewriteRule ^install/$ install/index.php
|
RewriteRule ^install/$ install/index.php
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ if($config['backward_support']) {
|
|||||||
if(!isset($config['lightborder']))
|
if(!isset($config['lightborder']))
|
||||||
$config['lightborder'] = '#F1E0C6';
|
$config['lightborder'] = '#F1E0C6';
|
||||||
|
|
||||||
$config['site']['download_page'] = false;
|
$config['site']['download_page'] = true;
|
||||||
$config['site']['serverinfo_page'] = true;
|
$config['site']['serverinfo_page'] = true;
|
||||||
$config['site']['screenshot_page'] = true;
|
$config['site']['screenshot_page'] = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user