forked from Luis-J-Ianez/cubecomps.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinc_private.php
44 lines (35 loc) · 1.49 KB
/
inc_private.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?
define("DOMAIN","localhost"); // "cubecomps.com"
// It's supposed that "live.".DOMAIN is the live domain
// and "test.".DOMAIN is the test domain
// MySQL or h2, see lib.php for details.
//define("SQL_DBTYPE","MySQL");
define("SQL_DBTYPE","h2");
// None of these need to be set for tnoodle, as it has configured quercus
// to ignore the paramters in calls to mysql_connect, and use h2.
define("SQL_SERVER",___);
define("SQL_USER",___);
define("SQL_PASSWORD",___);
define("SQL_DBNAME",___);
define("SQL_TEST_USER",___);
define("SQL_TEST_PASSWORD",___);
define("SQL_TEST_DBNAME",___);
/*
* Use of a beta system is enabled. I just use a folder called '/beta' to place all the code there.
*
* substr($_SERVER["REQUEST_URI"],0,6)=="/beta/" detects beta.
*
* In that case, you'll need to reference some dirs differently depending on whether you're using the beta or not.
* To make it simple, the beta just adds "../" before the path.
*
* Make these paths relative or fix the lines where the beta use them.
*/
define("DIR_FPDF",___); // "../lib/tfpdf/tfpdf.php"
define("DIR_PHPEXCEL",___); // "../lib/PHPExcel/PHPExcel.php"
/* These are different; both, relative and absolute references are needed.
* This is the folder where the user uploads his/her scorecard backgroud image.
* In addition, *.sch and *.gif files with the schedule and the banner for the public side are placed.
*/
define("DIR_UPLOADS",___); // "uploads/"
define("DIR_UPLOADS_ABS",___.DIR_UPLOADS); // "/homepages/...<>.../".DIR_UPLOADS
?>