image uploading fixes involving database filepaths, with no filename.
[phpns.git] / inc / init.php
blob569846156336f4095f68d83f3ee98484551bc672
1 <?php
3 /* Copyright (c) 2007-08 Alec Henriksen
4 * phpns is free software; you can redistribute it and/or modify it under the
5 * terms of the GNU General Public Licence (GPL) as published by the Free
6 * Software Foundation; either version 2 of the Licence, or (at your option) any
7 * later version.
8 * Please see the GPL at http://www.gnu.org/copyleft/gpl.html for a complete
9 * understanding of what this license means and how to abide by it.
12 //initialize variables used in phpns
13 $globalvars['pagetype'] = FALSE;
14 if (!@$_COOKIE['cookie_auth']) { $_COOKIE['cookie_auth'] = FALSE; }
15 if (!@$_GET['do']) { $_GET['do'] = FALSE; }
16 $do = FALSE;