Dotclear


Ignore:
Timestamp:
09/17/09 16:39:43 (14 years ago)
Author:
pep
Message:

Getting ready for 2.1.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dayMode/_public.php

    r952 r1468  
    159159          global $_ctx,$core; 
    160160           
    161           if (preg_match('|^/([0-9]{4})/([0-9]{2})/([0-9]{2})$|',$args,$m)) 
    162           { 
     161          if (preg_match('|^/([0-9]{4})/([0-9]{2})/([0-9]{2})$|',$args,$m)) { 
    163162               $params['year']       = $m[1]; 
    164163               $params['month']      = $m[2]; 
     
    169168               if ($_ctx->day->isEmpty()) { 
    170169                    self::p404(); 
     170                    return; 
    171171               } 
    172172 
    173173               self::serveDocument('archive_day.html'); 
    174                exit; 
    175174          } 
    176           parent::archive($args); 
     175          else { 
     176               parent::archive($args); 
     177          } 
     178          return; 
    177179     } 
    178180} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map