Changeset 18297 for extensions/piwishack/include/class.inc.php
- Timestamp:
- Sep 27, 2012, 3:36:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piwishack/include/class.inc.php
r16639 r18297 104 104 if (!empty($list)) 105 105 { 106 107 106 set_make_full_url(); 108 107 … … 640 639 function loc_end_page_header() 641 640 { 642 global $template; 641 global $template, $conf; 642 643 // force $conf['derivative_url_style'] to 2 (script) to make sure 644 // exported HTML/BBCode will use i.php?/upload and not _data/i/upload 645 // because you don't know when the cache will be flushed 646 $previous_derivative_url_style = $conf['derivative_url_style']; 647 $conf['derivative_url_style'] = 2; 643 648 644 649 if ($this->opened or $this->to_close) … … 679 684 $template->append('head_elements', $js); 680 685 } 686 687 // restore configuration setting 688 $conf['derivative_url_style'] = $previous_derivative_url_style; 681 689 } 682 690
Note: See TracChangeset
for help on using the changeset viewer.