forked from goragodwiriya/inventory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
load.php
42 lines (42 loc) · 1.33 KB
/
load.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
<?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);
/*
* ภาษาอัตโนมัติจากบราวเซอร์
*/
define('AUTO_LANGUAGE', false);
/*
* ระบุ SQL Mode ที่ต้องการ
* หากพบปัญหาการใช้งาน
*/
//define('SQL_MODE', '');
/**
* load Kotchasan.
*/
include 'Kotchasan/load.php';