Changeset 25464
- Timestamp:
- Nov 12, 2013, 9:30:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r25462 r25464 1373 1373 { 1374 1374 $this->flush_pending($result, $pending, $key, $force); 1375 $pending = array();1376 1375 $key = $this->is_css ? array(get_absolute_root_url(false)): array(); //because for css we modify bg url 1377 $ result[] = $combinable;1376 $pending = array($combinable); 1378 1377 } 1379 1378 } … … 1414 1413 private function process_combinable($combinable, $return_content, $force) 1415 1414 { 1415 global $conf; 1416 1416 if ($combinable->is_template) 1417 1417 { … … 1421 1421 if ($conf['template_compile_check']) 1422 1422 $key[] = filemtime( PHPWG_ROOT_PATH . $combinable->path ); 1423 $file = PWG_COMBINED_DIR . 't' . base_convert(crc32( $key),10,36) . '.' . $this->type;1423 $file = PWG_COMBINED_DIR . 't' . base_convert(crc32(implode(',',$key)),10,36) . '.' . $this->type; 1424 1424 if (!$force && file_exists(PHPWG_ROOT_PATH.$file) ) 1425 1425 {
Note: See TracChangeset
for help on using the changeset viewer.