View Single Post
  #106  
Old 06-23-2015, 06:15 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

This is the patch

PHP Code:
Indexmodules/XAuth/ext.core.php
--- modules/XAuth/ext.core.php
+++ modules/XAuth/ext.core.php
@@ -147,+147,@@ function x_tpl_remove_listener($tpl$event$callback)
 
 function 
x_tpl_prefilter($source, &$smarty)
 {
+    if (
strpos($smarty->template_resource'eval:') === 0) {
+        return 
$source;
+    }
     return 
'{if $x_core_started}{xevent name="before" tpl="' $smarty->template_resource '"}{/if}'
         
$source
         
'{if $x_core_started}{xevent name="after" tpl="' $smarty->template_resource '"}{/if}'

It modifies a file from XAuth module. This module is not active, it is not present in cart.
How can this change have an effect on the static pages. The XAuth module has nothing to do with static pages. And if not active and not present in cart how can this work?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote