View Single Post
  #22  
Old 02-24-2007, 02:50 PM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Arrow Re: Make logout confirmation page? How to?

Quote:
Originally Posted by carpeperdiem
Hi Eugene,

Thanks for commenting on this code...

I searched my file
# $Id: login.php,v 1.120.2.20 2007/01/04 08:26:59 twice Exp $

And there are no instances of

func_flush
();

OR

exit();

anywhere in my login.php file --

I wonder if my file is modified from the original (or current) source. Hmmm...

Your file isn't modified from the original source. Search '<xcart_dir>/include/func/func.core.php' script, you'll find the posted code.

I.e. you use 'func_header_location()' function in the include/login.php file.
'func_header_location()' function is declared in the '<xcart_dir>/include/func/func.core.php' script and already has 'exit()' in it.

That's why you don't need to add exit() to include/login.php
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote