Dotclear

Changeset 17:6fc4226eaebd for inc


Ignore:
Timestamp:
04/27/11 16:30:40 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Children:
18:3b981ecb888d, 67:a5f9c67df8fe, 126:2be2ac72171e
Message:

Temporarily removed safe_mode on stable branch, will work on it on dedicated branch before further merge.

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r0 r17  
    128128          '<div id="main">'."\n". 
    129129          '<div id="content">'."\n"; 
    130            
    131           # Recovery mode 
    132           if (isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']) 
    133           { 
    134                echo 
    135                '<div class="error"><h3>'.__('Recovery mode').'</h3>'. 
    136                '<p>'.__('You are in recovery mode means no plugin have been loaded.').'</p>'. 
    137                '</div>'; 
    138           } 
    139130           
    140131          if ($core->error->flag()) { 
  • inc/core/class.dc.modules.php

    r0 r17  
    6666          $this->ns = $ns; 
    6767           
    68           $disabled = isset($_SESSION['sess_safe_mode']) && $_SESSION['sess_safe_mode']; 
    69           $disabled = $disabled && !get_parent_class($this) ? true : false; 
    70            
    7168          foreach ($this->path as $root) 
    7269          { 
     
    9087                    && file_exists($full_entry.'/_define.php')) 
    9188                    { 
    92                          if (!file_exists($full_entry.'/_disabled') && !$disabled) 
     89                         if (!file_exists($full_entry.'/_disabled')) 
    9390                         { 
    9491                              $this->id = $entry; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map