X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=index.php;h=9785c419e477ebc6404259fdd6961216b90cc453;hb=2865118ca44661c7535aaf7b83e3b9222bc1f9a6;hp=6a5eb2aeb666bc4df74db78fbda03007860b72ef;hpb=091e2d139dfd35e1a0fbfef5c561b26af633dbd9;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 6a5eb2ae..9785c419 100644 --- a/index.php +++ b/index.php @@ -50,6 +50,9 @@ $GLOBALS['config']['LOG_FILE'] = $GLOBALS['config']['DATADIR'].'/log.txt'; // For updates check of Shaarli $GLOBALS['config']['UPDATECHECK_FILENAME'] = $GLOBALS['config']['DATADIR'].'/lastupdatecheck.txt'; +// Set ENABLE_UPDATECHECK to disabled by default. +$GLOBALS['config']['ENABLE_UPDATECHECK'] = false; + // RainTPL cache directory (keep the trailing slash!) $GLOBALS['config']['RAINTPL_TMP'] = 'tmp/'; // Raintpl template directory (keep the trailing slash!) @@ -1120,9 +1123,9 @@ function renderPage() // Call plugin hooks for header, footer and includes, specifying which page will be rendered. // Then assign generated data to RainTPL. $common_hooks = array( + 'includes', 'header', 'footer', - 'includes', ); $pluginManager = PluginManager::getInstance(); foreach($common_hooks as $name) {