-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathConfig.php
51 lines (42 loc) · 1.16 KB
/
Config.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
45
46
47
48
49
50
51
<?php
/**
* Created by PhpStorm.
* User: Gokalp Kuscu a.k.a gklp
* Date: 11/2/14
* Time: 4:03 PM
*
* While you was setting database properties for database connection.
* You must set this file for simple managing for services.
*
* Readable code and imports
*
* @see Config.php
* @version 1.0
* @author gklp
* @since 2.0
* @category core
*
*/
ini_set('xdebug.var_display_max_depth', 5);
ini_set('xdebug.var_display_max_children', 256);
ini_set('xdebug.var_display_max_data', 1024);
//connection information.
define("DB_DRIVER", "MysqlDriver");
define("DB_HOST", "localhost");
define("DB_USERNAME", "root");
define("DB_PASSWORD", "");
define("DB_NAME", "rock_survey");
define("DB_CHARSET", "UTF8");
//set your local variables
//this is pipernate core path
define("ORM_PATH", dirname(__FILE__) . "/");
//do not change ORM_PATH knows it.
define("MODEL_PATH", ORM_PATH . 'models/');
//do not change ORM_PATH knows it.
define("SYSTEM_PATH", ORM_PATH . 'system/');
//do not change SYSTEM_PATH knows it.
define("DRIVER_PATH", SYSTEM_PATH . "core/drivers/");
//automatic imports
require_once SYSTEM_PATH . 'Importer.php';
require_once SYSTEM_PATH . 'Connector.php';
?>