mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-05-18 07:16:13 +02:00
Avoid having "gallery" as shortened URL
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ sub startup {
|
||||
my $short;
|
||||
do {
|
||||
$short= $c->shortener($c->config->{length});
|
||||
} while (LutimModel::Lutim->count('WHERE short = ?', $short) || $short eq 'about' || $short eq 'stats' || $short eq 'd' || $short eq 'm');
|
||||
} while (LutimModel::Lutim->count('WHERE short = ?', $short) || $short eq 'about' || $short eq 'stats' || $short eq 'd' || $short eq 'm' || $short eq 'gallery');
|
||||
|
||||
LutimModel::Lutim->create(
|
||||
short => $short,
|
||||
|
||||
Reference in New Issue
Block a user