-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
37 lines (28 loc) · 1.14 KB
/
config.php
File metadata and controls
37 lines (28 loc) · 1.14 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
<?php
/*
Add config files to the system this will load extra config in case hostnames or
callback function are matched.
Add 'console' as hostname if that configuration should be loaded when script is run
from console.
By default 'development' is set to array('localhost','127.0.0.1') so there no need
to add it.
$this -> add_config('development', 'localhost');
*/
$this->addConfig('production', 'example.com');
$this->addConfig('development', array('localhost:10001','localhost:8888'));
/*
Use to import CSS files into template
$this->add_css_file('{$skin_styles}screen.css');
$this->add_css_file('{$skin_styles}ui.css');
$this->add_css_file('{$skin_styles}ie.css','text/css','screen, projection','if IE');
*/
$this->addCssFile('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css');
/*
Use to import JS files into template
$this->add_js_file('{$root_scripts}jquery/jquery.js');
*/
$this->addJsFile('{$root_scripts}jquery/jquery.js');
$this->addJsFile('{$root_scripts}validation/jquery.validate.js');
$this->addJsFile('{$root_scripts}validation/jquery.validate-ext.js');
// site crypting key
$this->crypt_key = 'site.com';