forked from lavaeagle/lara-cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.php
37 lines (34 loc) · 1.2 KB
/
start.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* --------------------------------------------------------------------------
* Cartify
* --------------------------------------------------------------------------
*
* Cartify, a shopping cart bundle for use with the Laravel Framework.
*
* @package Cartify
* @version 2.1.1
* @author Bruno Gaspar <[email protected]>
* @link https://github.com/bruno-g/cartify
*/
/*
* --------------------------------------------------------------------------
* Register the namespaces.
* --------------------------------------------------------------------------
*/
Autoloader::namespaces(array(
'Cartify' => __DIR__ . DS
));
/*
* --------------------------------------------------------------------------
* Set the global alias.
* --------------------------------------------------------------------------
*/
Autoloader::alias('Cartify\\Cartify', 'Cartify');
Autoloader::alias('Cartify\\CartifyException', 'CartifyException');
/*
* --------------------------------------------------------------------------
* Include our helpers file.
* --------------------------------------------------------------------------
*/
require_once __DIR__ . DS . 'helpers.php';