source: trunk/docs/examples/script_template.php @ 762

Last change on this file since 762 was 762, checked in by anonymous, 2 years ago

Redirect if requesting login.php when already logged-in. Remove depreciated method usage.

File size: 1.8 KB
RevLine 
[1]1<?php
2/**
[362]3 * The Strangecode Codebase - a general application development framework for PHP
4 * For details visit the project site: <http://trac.strangecode.com/codebase/>
[396]5 * Copyright 2001-2012 Strangecode, LLC
[762]6 *
[362]7 * This file is part of The Strangecode Codebase.
8 *
9 * The Strangecode Codebase is free software: you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as published by the
11 * Free Software Foundation, either version 3 of the License, or (at your option)
12 * any later version.
[762]13 *
[362]14 * The Strangecode Codebase is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 * details.
[762]18 *
[362]19 * You should have received a copy of the GNU General Public License along with
20 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23/**
[154]24 * __///__
[362]25 *
[1]26 * @author  Quinn Comendant <quinn@strangecode.com>
27 * @version 1.0
[154]28 * @since   __///__
[1]29 */
30
31require_once dirname(__FILE__) . '/_config.inc.php';
32
33$auth->requireLogin();
34
35require_once 'codebase/lib/FormValidator.inc.php';
36
37
[143]38/********************************************************************
39* CONFIG
40********************************************************************/
[1]41
42
43
[143]44/********************************************************************
45* MAIN
46********************************************************************/
[1]47
48
49
[143]50/********************************************************************
51* OUTPUT
52********************************************************************/
[1]53
54
55
[143]56/********************************************************************
57* FUNCTIONS
58********************************************************************/
[1]59
60
Note: See TracBrowser for help on using the repository browser.