Quick Search:

View

Revision:

Diff

Diff from 1498 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
hpdl
1498
10   This program is free software; you can redistribute it and/or modify
11   it under the terms of the GNU General Public License v2 (1991)
12   as published by the Free Software Foundation.
hpdl
802
13 */
14
15   class osC_Actions {
16     function parse() {
17       if (isset($_GET['action']) && !empty($_GET['action'])) {
18         $_GET['action'] = basename($_GET['action']);
19
20         if (file_exists('includes/modules/actions/' . $_GET['action'] . '.php')) {
21           include('includes/modules/actions/' . $_GET['action'] . '.php');
22
23           call_user_func(array('osC_Actions_' . $_GET['action'], 'execute'));
24         }
25       }
26     }
27   }
28 ?>