X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Make logout confirmation page? How to? (https://forum.x-cart.com/showthread.php?t=24139)

carpeperdiem 02-24-2007 02:34 PM

Re: Make logout confirmation page? How to?
 
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...

Ene 02-24-2007 02:50 PM

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

carpeperdiem 02-24-2007 03:23 PM

Re: Make logout confirmation page? How to?
 
Got it. Thanks for your response on this. It is appreciated.


All times are GMT -8. The time now is 06:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.