------------------------------------------------------------------------ Copyright (C) 2014 Bart Orriens, Albert Weerman This library/program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ------------------------------------------------------------------------ */ error_reporting(E_ALL); ini_set("display_errors", 1); require_once "constants.php"; require_once "functions.php"; require_once "dbConfig.php"; $loaded = dbConfig::load(); require_once "config.php"; // start session if installed if ($loaded == 3) { session_set_cookie_params(0, getSessionPath()); // set cookie path session_start(); } if (isset($_POST[POST_PARAM_FULLRESET]) && is_Numeric($_POST[POST_PARAM_FULLRESET]) || isset($_GET[POST_PARAM_FULLRESET]) && is_Numeric($_GET[POST_PARAM_FULLRESET])) { //reset session! endSession(); $param = ''; if (isset($_GET[POST_PARAM_SE]) && is_Numeric($_GET[POST_PARAM_SE])) { if ($_GET[POST_PARAM_SE] > 1) { $param = '?' . POST_PARAM_SE . '=' . $_GET[POST_PARAM_SE]; }
/* ------------------------------------------------------------------------ Copyright (C) 2014 Bart Orriens, Albert Weerman This library/program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ------------------------------------------------------------------------ */ require_once "../constants.php"; require_once "../functions.php"; require_once "../dbConfig.php"; $_SESSION['SYSTEM_ENTRY'] = USCIC_SMS; $loaded = dbConfig::load("../conf.php"); require_once "../config.php"; require_once "../globals.php"; require_once "../user.php"; require_once 'reportissue.php'; require_once 'watchwindow.php'; require_once 'jumpback.php'; require_once 'updater.php'; require_once "../display/templates/displayquestion_" . getSurveyTemplate() . ".php"; if (loadvar('r') != '') { getSessionParamsPost(loadvar('r')); } // include language $l = getSMSLanguage(); if (file_exists("language/language" . getSMSLanguagePostFix($l) . ".php")) { require_once 'language_' . getSMSLanguagePostFix($l) . '.php';