Add default value for item_title_link option

This commit is contained in:
Frederic Guillot 2016-02-28 14:30:14 -05:00
parent 597c478869
commit d66fac1b61
2 changed files with 9 additions and 3 deletions

View File

@ -242,6 +242,6 @@ return array(
'Groups' => 'Libellés', 'Groups' => 'Libellés',
'Back to the group' => 'Revenir sur le groupe', 'Back to the group' => 'Revenir sur le groupe',
'view' => 'voir', 'view' => 'voir',
// 'Item title links to' => '', 'Item title links to' => 'Le titre des articles redirige vers',
// 'Original' => '' 'Original' => 'Original'
); );

View File

@ -5,7 +5,13 @@ namespace Schema;
use PDO; use PDO;
use Model\Config; use Model\Config;
const VERSION = 43; const VERSION = 44;
function version_44(PDO $pdo)
{
$pdo->exec('INSERT INTO settings ("key", "value") VALUES ("item_title_link", "full")');
}
function version_43(PDO $pdo) function version_43(PDO $pdo)
{ {