-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload.php
More file actions
49 lines (49 loc) · 1.61 KB
/
load.php
File metadata and controls
49 lines (49 loc) · 1.61 KB
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
45
46
47
48
49
<?php
/**
* load.php
*
* @author Goragod Wiriya <admin@goragod.com>
* @copyright 2016 Goragod.com
* @license http://www.kotchasan.com/license/
*
* @see http://www.kotchasan.com/
*/
/*
* Site root
*/
define('ROOT_PATH', str_replace('\\', '/', dirname(__FILE__)).'/');
/*
* โฟลเดอร์เก็บข้อมูล
*/
define('DATA_FOLDER', 'datas/');
/*
* 0 (default) บันทึกเฉพาะข้อผิดพลาดร้ายแรงลง error_log.php
* 1 บันทึกข้อผิดพลาดและคำเตือนลง error_log.php
* 2 แสดงผลข้อผิดพลาดและคำเตือนออกทางหน้าจอ (ใช้เฉพาะตอนออกแบบเท่านั้น)
*/
define('DEBUG', 0);
/*
* false (default)
* true บันทึกการ query ฐานข้อมูลลง log (ใช้เฉพาะตอนออกแบบเท่านั้น)
*/
define('DB_LOG', false);
/*
* ภาษาเริ่มต้น
* auto = อัตโนมัติจากบราวเซอร์
* th, en ตามภาษาที่เลือก
*/
define('INIT_LANGUAGE', 'th');
/**
* เปิด/ปิดการใช้งาน Session บน Database
* ต้องติดตั้งตาราง sessions ด้วย
*/
define('USE_SESSION_DATABASE', false);
/*
* ระบุ SQL Mode ที่ต้องการ
* หากพบปัญหาการใช้งาน
*/
//define('SQL_MODE', '');
/**
* load Kotchasan
*/
include 'Kotchasan/load.php';