X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=4068a828f10293ee40a8e245e5052e908cbe8bf3;hb=6770135b0aca9ca3399c74afa6f2f9ce47fd6a05;hp=8f0179e5e3984e0251488b0fc08cc898a1f33053;hpb=d14555a3dfdc0d16badefcc54054802ae83752a4;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 8f0179e5..4068a828 100644 --- a/index.php +++ b/index.php @@ -88,7 +88,7 @@ try { exit; } -define('shaarli_version', ApplicationUtils::getVersion(__DIR__ .'/'. ApplicationUtils::$VERSION_FILE)); +define('SHAARLI_VERSION', ApplicationUtils::getVersion(__DIR__ .'/'. ApplicationUtils::$VERSION_FILE)); // Force cookie path (but do not change lifetime) $cookie = session_get_cookie_params(); @@ -1443,7 +1443,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history) if ($url == '') { $url = '?' . smallHash($linkdate . $LINKSDB->getNextId()); - $title = 'Note: '; + $title = $conf->get('general.default_note_title', 'Note: '); } $url = escape($url); $title = escape($title);