Changeset 2923 for trunk/include/template.class.php
- Timestamp:
- Dec 6, 2008, 3:28:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r2790 r2923 187 187 $handle = $value[0]; 188 188 $param = $value[1]; 189 $tpl = $value[2]; 189 190 } 190 191 elseif (is_string($value)) … … 192 193 $handle = $value; 193 194 $param = 'N/A'; 195 $tpl = 'N/A'; 194 196 } 195 197 else … … 199 201 200 202 if ((stripos(implode('/',array_flip($_GET)), $param) > 0 or $param == 'N/A') 203 and (preg_match('/'.preg_quote($tpl,'/').'$/', $this->get_template_dir()) or $tpl == 'N/A') 201 204 and (!isset($this->extents[$handle]) or $overwrite) 202 205 and file_exists($dir . $filename))
Note: See TracChangeset
for help on using the changeset viewer.