From: Matteo Nastasi (mop) Date: Thu, 12 Jul 2012 07:29:22 +0000 (+0200) Subject: define constant with enclosed into single quotes X-Git-Tag: v4.0.0~103 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=eba04c772a2c24d03588ee97ca7ff40b2ef79128;p=brisk.git define constant with enclosed into single quotes --- diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh index fba0987..a501014 100644 --- a/web/Obj/auth.phh +++ b/web/Obj/auth.phh @@ -24,11 +24,11 @@ require_once("${G_base}Obj/dbase_${G_dbasetype}.phh"); -define(CHAL_SHM_DIMS_MIN, 16384); -define(CHAL_SHM_DIMS_MAX, 65536); -define(CHAL_SHM_DIMS_DLT, 16384); -define(CHAL_VALID_TIME, 15); -define(CHAL_GARBAGE_TIMEOUT, 5); +define('CHAL_SHM_DIMS_MIN', 16384); +define('CHAL_SHM_DIMS_MAX', 65536); +define('CHAL_SHM_DIMS_DLT', 16384); +define('CHAL_VALID_TIME', 15); +define('CHAL_GARBAGE_TIMEOUT', 5); class Challenge { diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 5f26a2e..bcb4d75 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -78,7 +78,7 @@ define('BRISK_DEBUG', 0x0800); define('BRISK_SINGLE_DEBUG',0); define('BRISK_SINGLE_SESS', ""); -// define(DEBUGGING, "local"); +define('DEBUGGING', "no-debugging"); require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF); diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index d298928..75441be 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -21,13 +21,13 @@ * Suite 330, Boston, MA 02111-1307, USA. * */ -define(BIN5_PLAYERS_N, 3); -define(BIN5_MAX_PLAYERS, BIN5_PLAYERS_N); -// define(BIN5_SHM_MIN, (50000 * BIN5_MAX_PLAYERS)); -define(BIN5_SHM_MIN, 32768); -define(BIN5_SHM_MAX, (BIN5_SHM_MIN + 1048576)); -define(BIN5_SHM_DLT, 32768); -define(BIN5_PROXY_PATH, PROXY_PATH."/bin5"); +define('BIN5_PLAYERS_N', 3); +define('BIN5_MAX_PLAYERS', BIN5_PLAYERS_N); +// define(BIN5_SHM_MIN', (50000 * BIN5_MAX_PLAYERS)); +define('BIN5_SHM_MIN', 32768); +define('BIN5_SHM_MAX', (BIN5_SHM_MIN + 1048576)); +define('BIN5_SHM_DLT', 32768); +define('BIN5_PROXY_PATH', PROXY_PATH."/bin5"); $mlang_bin5_bin5 = array( 'info_part' => array( 'it' => '
Nell\'ultima mano ha chiamato %s, il socio era %s,
', @@ -420,7 +420,7 @@ class Bin5_table extends Table { -define(BIN5_USER_FLAG_RING_ENDAUCT, 0x01); +define('BIN5_USER_FLAG_RING_ENDAUCT', 0x01); class Bin5_user extends User { var $asta_card; // diff --git a/web/spush/brisk-spush.php b/web/spush/brisk-spush.php index 7d893da..ca8de1f 100755 --- a/web/spush/brisk-spush.php +++ b/web/spush/brisk-spush.php @@ -30,6 +30,8 @@ require_once("../Obj/brisk.phh"); // require_once("../Obj/proxyscan.phh"); require_once("./sac-a-push.phh"); +define('SITE_PREFIX', '/brisk/'); + class SPUser { var $id; var $sess;