[TEP-COMMIT] [CVS catalog] register_globals update

anonymous-OfajU3CKLf1/[email protected] 20 May 2004 23:44:35 -0000
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Commit in catalog/catalog/install/includes on MAIN

application.php +3 -2 1.6 -> 1.7

register_globals update

----------

catalog /catalog /install /includes

application.php 1.6 -> 1.7

diff -u -r1.6 -r1.7
--- application.php 2004/02/16 06:59:34 1.6
+++ application.php 2004/05/20 23:44:33 1.7
@@ -13,6 +13,8 @@

// Set the level of error reporting
error_reporting(E_ALL & ~E_NOTICE);

+ require('../includes/functions/compatibility.php');
+

if (isset($_GET['language'])) {
setcookie('osC_Language', $_GET['language']);

@@ -24,9 +26,8 @@

}

require('languages/' . $language . '.php');

- require('languages/' . $language . '/' . basename($PHP_SELF));

+ require('languages/' . $language . '/' . basename($_SERVER['PHP_SELF']));

- require('../includes/functions/compatibility.php');

require('../includes/functions/general.php');
require('functions/general.php');
require('../includes/functions/html_output.php');

CVSspam 0.2.8

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click