Commit bcc88b4302fc2ecc1ebd88c025639cb7385fac2c
1 parent
da17f4a8
This file is unused.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4342 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
57 deletions
lib/dms.inc deleted
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * $Id$ | |
| 4 | - * | |
| 5 | - * DMS default routines and functions | |
| 6 | - * | |
| 7 | - * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | - * | |
| 9 | - * This program is free software; you can redistribute it and/or modify | |
| 10 | - * it under the terms of the GNU General Public License as published by | |
| 11 | - * the Free Software Foundation; either version 2 of the License, or | |
| 12 | - * (at your option) any later version. | |
| 13 | - * | |
| 14 | - * This program is distributed in the hope that it will be useful, | |
| 15 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | - * GNU General Public License for more details. | |
| 18 | - * | |
| 19 | - * You should have received a copy of the GNU General Public License | |
| 20 | - * along with this program; if not, write to the Free Software | |
| 21 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | - * | |
| 23 | - * @version $Revision$ | |
| 24 | - * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | - * @package lib | |
| 26 | - */ | |
| 27 | - | |
| 28 | -/** | |
| 29 | - * Initialises the web application by making current | |
| 30 | - * request parameters global and loading the default language | |
| 31 | - */ | |
| 32 | - | |
| 33 | -// make request parameters global | |
| 34 | -if (substr(phpversion(),0,5) >= "4.1.0") { | |
| 35 | - // if supported by the installed version of PHP | |
| 36 | - import_request_variables('pgc'); | |
| 37 | -} else { | |
| 38 | - // do it manually | |
| 39 | - if (!EMPTY($_POST)) { | |
| 40 | - extract($_POST); | |
| 41 | - } else { | |
| 42 | - extract($HTTP_POST_VARS); | |
| 43 | - } | |
| 44 | - | |
| 45 | - if (!EMPTY($_GET)) { | |
| 46 | - extract($_GET); | |
| 47 | - } else { | |
| 48 | - extract($HTTP_GET_VARS); | |
| 49 | - } | |
| 50 | - | |
| 51 | - if (!EMPTY($_FILE)) { | |
| 52 | - extract($_FILE); | |
| 53 | - } else { | |
| 54 | - extract($HTTP_POST_FILES); | |
| 55 | - } | |
| 56 | -} | |
| 57 | -?> |