Changeset 1468 for plugins/dayMode/_public.php
- Timestamp:
- 09/17/09 16:39:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dayMode/_public.php
r952 r1468 159 159 global $_ctx,$core; 160 160 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)) { 163 162 $params['year'] = $m[1]; 164 163 $params['month'] = $m[2]; … … 169 168 if ($_ctx->day->isEmpty()) { 170 169 self::p404(); 170 return; 171 171 } 172 172 173 173 self::serveDocument('archive_day.html'); 174 exit;175 174 } 176 parent::archive($args); 175 else { 176 parent::archive($args); 177 } 178 return; 177 179 } 178 180 }
Note: See TracChangeset
for help on using the changeset viewer.