Quick Search:

View

Revision:

Diff

Diff from 802 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/trunk/oscommerce/includes/classes/actions.php

Annotated File View

hpdl
802
1 <?php
2 /*
3   $Id: $
4
5   osCommerce, Open Source E-Commerce Solutions
6   http://www.oscommerce.com
7
8   Copyright (c) 2006 osCommerce
9
10   Released under the GNU General Public License
11 */
12
13   class osC_Actions {
14     function parse() {
15       if (isset($_GET['action']) && !empty($_GET['action'])) {
16         $_GET['action'] = basename($_GET['action']);
17
18         if (file_exists('includes/modules/actions/' . $_GET['action'] . '.php')) {
19           include('includes/modules/actions/' . $_GET['action'] . '.php');
20
21           call_user_func(array('osC_Actions_' . $_GET['action'], 'execute'));
22         }
23       }
24     }
25   }
26 ?>