|
@@ 741-744 (lines=4) @@
|
| 738 |
|
include_once($store_config['code']."modules/mod_esi.php"); |
| 739 |
|
|
| 740 |
|
// Replace the session IDs before the ESI process call to pass the correct session ID information... |
| 741 |
|
if ($session_id && !$AR->hideSessionIDfromURL) { |
| 742 |
|
$tag = '{arSessionID}'; |
| 743 |
|
$data = str_replace($tag, "-$session_id-", $data); |
| 744 |
|
} |
| 745 |
|
|
| 746 |
|
$data = ESI::esiProcess($data); |
| 747 |
|
|
|
@@ 762-766 (lines=5) @@
|
| 759 |
|
$tag = '{arSessionID}'; |
| 760 |
|
$data = file_get_contents($cachedimage); |
| 761 |
|
$tag = '{arSessionID}'; |
| 762 |
|
if (!$AR->hideSessionIDfromURL) { |
| 763 |
|
$data = str_replace($tag, "-$session_id-", $data); |
| 764 |
|
} else { |
| 765 |
|
$data = str_replace($tag, '', $data); |
| 766 |
|
} |
| 767 |
|
echo $data; |
| 768 |
|
} else { |
| 769 |
|
readfile($cachedimage); |