示例#1
0
function initiate_session()
{
    system_init();
    memberReset();
    transReset();
    printReset();
    getsubtotals();
    loadglobalvalues();
    loaddata();
}
示例#2
0
<?php

require_once 'defaults.php';
require_once INCLUDES_DIR . 'includes.php';
define('SETUPTEMP_FILE', FP_CONTENT . 'settingup.lock');
@system_init();
if (empty($_POST)) {
    session_destroy();
    cookie_clear();
}
require './setup/main.php';
示例#3
0
/**
 * Scavix Web Development Framework
 *
 * Copyright (c) since 2012 Scavix Software Ltd. & Co. KG
 *
 * This library 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 3 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, see <http://www.gnu.org/licenses/>
 *
 * @author Scavix Software Ltd. & Co. KG http://www.scavix.com <*****@*****.**>
 * @copyright since 2012 Scavix Software Ltd. & Co. KG
 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
 */
require_once __DIR__ . "/../system/system.php";
switchToDev();
system_init('chartroulette');
if (isset($_GET['clear'])) {
    cache_clear();
    $_SESSION = array();
}
system_execute();
示例#4
0
 *
 * 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, see <http://www.gnu.org/licenses/>
 *
 * @author Scavix Software Ltd. & Co. KG http://www.scavix.com <*****@*****.**>
 * @copyright since 2012 Scavix Software Ltd. & Co. KG
 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
 */
require_once __DIR__ . "/../system/system.php";
switchToDev();
system_init('shop');
if (isset($_GET['clear'])) {
    cache_clear();
    $_SESSION = array();
}
/**
 * Creates a all tables and some sample data.
 */
function ensure_db()
{
    $flds = array();
    foreach (array('email', 'fname', 'lname', 'street', 'zip', 'city') as $fld) {
        $flds[] = "{$fld} VARCHAR(255)";
    }
    $flds = implode(",", $flds);
    $ds = model_datasource('system');
示例#5
0
/**
 * Scavix Web Development Framework
 *
 * Copyright (c) since 2012 Scavix Software Ltd. & Co. KG
 *
 * This library 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 3 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, see <http://www.gnu.org/licenses/>
 *
 * @author Scavix Software Ltd. & Co. KG http://www.scavix.com <*****@*****.**>
 * @copyright since 2012 Scavix Software Ltd. & Co. KG
 * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
 */
require_once __DIR__ . "/../system/system.php";
switchToDev();
system_init('blog');
if (isset($_GET['clear'])) {
    cache_clear();
    $_SESSION = array();
}
system_execute();
示例#6
0
<?php

require_once __DIR__ . "/../system/system.php";
switchToDev();
setAppVersion(0, 0, 1);
system_init('documentor');
if (isset($_GET['clear'])) {
    cache_clear();
    $_SESSION = array();
}
system_execute();