Dotclear

Changeset 2165:eba78dfe70ab


Ignore:
Timestamp:
09/30/13 11:11:43 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
dcRepo
Message:

Protect _config files

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/plugins.php

    r2163 r2165  
    8989               '<p><a class="back" href="'.$list->getPageURL().'#plugins">'.__('Back').'</a></p>'; 
    9090          } 
     91          define('DC_CONTEXT_PLUGIN', true); 
    9192 
    9293          include $conf_file; 
  • plugins/maintenance/_config.php

    r2163 r2165  
    11<?php 
     2# -- BEGIN LICENSE BLOCK --------------------------------------- 
     3# 
     4# This file is part of Dotclear 2. 
     5# 
     6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 
     7# Licensed under the GPL version 2.0 license. 
     8# See LICENSE file or 
     9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10# 
     11# -- END LICENSE BLOCK ----------------------------------------- 
     12if (!defined('DC_CONTEXT_PLUGIN')) { return; } 
    213 
    314$core->blog->settings->addNamespace('maintenance'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map