Dotclear

Changeset 3189:0965daf0bac6


Ignore:
Timestamp:
02/26/16 19:07:10 (10 years ago)
Author:
Gvx <gvx@…>
Branch:
Ticket_2164
Children:
3190:8e3696c934c1, 3655:90433148b160
Message:

Proposal to inhibit notifications of updates

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r3066 r3189  
    202202 
    203203# Dotclear updates notifications 
    204 if ($core->auth->isSuperAdmin() && is_readable(DC_DIGESTS)) 
     204if ($core->auth->isSuperAdmin() && !DC_NOT_UPDATE && is_readable(DC_DIGESTS)) 
    205205{ 
    206206     $updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 
  • inc/prepend.php

    r3162 r3189  
    183183} 
    184184 
     185if (!defined('DC_NOT_UPDATE')) { 
     186     define('DC_NOT_UPDATE',false); 
     187} 
     188 
    185189if (!defined('DC_ALLOW_MULTI_MODULES')) { 
    186190     define('DC_ALLOW_MULTI_MODULES',false); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map