Location: PHPKode > scripts > shopcart > shopcart/includes/application.php
<?php
require('includes/classes/Cart.php');
session_start();

$cart =& $_SESSION['cart'];
if(!is_object($cart)) $cart = new Cart();

require('includes/classes/Database.php');
$db=new Database();
$db->Connect();

require('includes/classes/Site.php');
$site=new Site();
?>
Return current item: shopcart