-
Notifications
You must be signed in to change notification settings - Fork 0
/
app_config.php
81 lines (65 loc) · 2.08 KB
/
app_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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
use limeberry\Configuration;
/**
* === [Environment Configuration ] ===
* This configuration is used to set the
* development environment for your project.
* You can set 2 types of environments;
* "development" OR "publish"
**/
Configuration::setEnvironment("development");
/**
* === [Application Folder ] ===
* This configuration is generally for security.
* If you need to change the folder name of your
* application you must set it here.
**/
Configuration::setApplicationFolder("application");
/**
* === [Application URL ] ===
* This configuration is used to set your
* web sites url. For example if you create a
* application that will be run in root set url to: "http://www.examplesite.com/"
* If your application will be a sub module/application of other application set it like:
* "http://www.examplesite.com/my_module".
**/
Configuration::setApplicationUrl("http://localhost/limeberry");
#[OPTION 2] //Configuration::setApplicationUrl("http://www.examplesite.com/");
/**
* === [Is Application Root ] ===
* If your application's url is not accessable by "www.siteexample.com"
* set this false.
**/
Configuration::setRoot(false);
// Configuration::setRoot(true); #[OPTION 2]
/**
* === [ Application Name ] ===
* This configuration is used to set name of your application.
*/
Configuration::setTitle("Empty Limeberry Application");
/**
* === [ Application Version ] ===
* This configuration is used to set version number of your application.
*/
Configuration::setVersion("1.0.0");
/**
* === [ Application Description ] ===
* This configuration is used to set description of your application.
*/
Configuration::setDescription("Description of my application");
//Configuration::setUrlProtected(TRUE);
//Configuration::UnwantedParameters(array("'", "-"));
/****************************
* Application Class
*****************************/
class Application
{
/**
* This method is called when your application is loaded. You can register
* your object mappers or do other configurations.
*/
public function Register()
{
}
}
?>