# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.foundation.php +++ administrator/components/com_comprofiler/plugin.foundation.php @@ -16,7 +16,11 @@ include_once( dirname( __FILE__ ) . '/ue_config.php' ); $ueConfig['version'] = '1.4 RC'; define( '_CB_JQUERY_VERSION', '1.5.0' ); // IMPORTANT: when changing version here also change in the 2 XML installation files -define( '_CB_SPOOFCHECKS', 1 ); // Comment line with // at begin for disabling anti-spoofing sessions checks +if ( isset( $ueConfig['enableSpoofCheck'] ) && $ueConfig['enableSpoofCheck'] ) { + define( '_CB_SPOOFCHECKS', 1 ); +} else { + define( '_CB_SPOOFCHECKS', 0 ); +} define( '_CB_VALIDATE_NEW', 1 ); // Comment line with // at begin for old-way mosReq way /**