decir/constants.php
author Dan
Thu, 29 Nov 2007 21:48:02 -0500
changeset 11 5585ac341820
parent 6 3f66ec435f08
permissions -rw-r--r--
SECURITY: fix stupid XSS vulnerability on initial post submit; add in support for the new search API
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     1
<?php
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     2
/*
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     3
 * Decir
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     4
 * Version 0.1
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     5
 * Copyright (C) 2007 Dan Fuhry
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     6
 * constants.php - important values
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     7
 *
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     8
 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
     9
 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    10
 *
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    11
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    12
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    13
 */
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    14
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    15
if(!defined('ENANO_DECIR_VERSION'))
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    16
  die('Hacking attempt');
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    17
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    18
define('FORUM_FORUM', 1);
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    19
define('FORUM_CATEGORY', 2);
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    20
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    21
define('TOPIC_NORMAL', 1);
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    22
define('TOPIC_STICKY', 4);
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    23
define('TOPIC_ANNOUNCE', 5);
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    24
6
3f66ec435f08 Some basic admin implemented
Dan
parents: 0
diff changeset
    25
define('DECIR_ADMIN_MODE_CREATE', 1);
3f66ec435f08 Some basic admin implemented
Dan
parents: 0
diff changeset
    26
define('DECIR_ADMIN_MODE_EDIT', 2);
3f66ec435f08 Some basic admin implemented
Dan
parents: 0
diff changeset
    27
0
0417a5a0c7be Initial repository population
dan@fuhry
parents:
diff changeset
    28
?>