-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconst.php
30 lines (23 loc) · 963 Bytes
/
const.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
# $Id: const.php,v 1.13 2010/04/04 07:39:55 nobu Exp $
define( "_RVSTAT_ORDER", 0 );
define( "_RVSTAT_RESERVED", 1 );
define( "_RVSTAT_REFUSED", 2 );
define( "STAT_NORMAL", 0 );
define( "STAT_POST", 1 );
define( "STAT_DELETED", 4 );
define( "ACCEPT_EMAIL", 0 );
define( "ACCEPT_MEMBER", 1 );
define( "ACCEPT_BOTH", 2 );
include_once( __DIR__ . '/mydirname.php' );
global $myprefix, $egdirname, $xoopsDB;
define( 'EGPREFIX', $myprefix );
define( 'EGTBL', $xoopsDB->prefix( $myprefix ) );
define( 'CATBL', $xoopsDB->prefix( $myprefix . "_category" ) );
define( 'OPTBL', $xoopsDB->prefix( $myprefix . "_opt" ) );
define( 'EXTBL', $xoopsDB->prefix( $myprefix . "_extent" ) );
define( 'RVTBL', $xoopsDB->prefix( $myprefix . "_reserv" ) );
define( 'HEADER_CSS', 'style.css' );
define( 'PICAL', 'piCal' ); // piCal dirname
define( 'EGUIDE_URL', XOOPS_URL . '/modules/' . $egdirname );
define( 'EGUIDE_PATH', XOOPS_ROOT_PATH . '/modules/' . $egdirname );