Skip to content

Commit 712730f

Browse files
author
Mike Funk
committed
still settling on some sparks, libraries, and the like
1 parent ba91269 commit 712730f

File tree

549 files changed

+125692
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

549 files changed

+125692
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.gitkeep

application/.htaccess

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Deny from all

application/cache/.htaccess

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
deny from all

application/cache/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<html>
2+
<head>
3+
<title>403 Forbidden</title>
4+
</head>
5+
<body>
6+
7+
<p>Directory access is forbidden.</p>
8+
9+
</body>
10+
</html>

application/config/.DS_Store

6 KB
Binary file not shown.

application/config/autoload.php

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2+
/*
3+
| -------------------------------------------------------------------
4+
| AUTO-LOADER
5+
| -------------------------------------------------------------------
6+
| This file specifies which systems should be loaded by default.
7+
|
8+
| In order to keep the framework as light-weight as possible only the
9+
| absolute minimal resources are loaded by default. For example,
10+
| the database is not connected to automatically since no assumption
11+
| is made regarding whether you intend to use it. This file lets
12+
| you globally define which systems you would like loaded with every
13+
| request.
14+
|
15+
| -------------------------------------------------------------------
16+
| Instructions
17+
| -------------------------------------------------------------------
18+
|
19+
| These are the things you can load automatically:
20+
|
21+
| 1. Packages
22+
| 2. Libraries
23+
| 3. Helper files
24+
| 4. Custom config files
25+
| 5. Language files
26+
| 6. Models
27+
|
28+
*/
29+
30+
/*
31+
| -------------------------------------------------------------------
32+
| Auto-load Packges
33+
| -------------------------------------------------------------------
34+
| Prototype:
35+
|
36+
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
37+
|
38+
*/
39+
40+
$autoload['packages'] = array();
41+
42+
43+
/*
44+
| -------------------------------------------------------------------
45+
| Auto-load Libraries
46+
| -------------------------------------------------------------------
47+
| These are the classes located in the system/libraries folder
48+
| or in your application/libraries folder.
49+
|
50+
| Prototype:
51+
|
52+
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
53+
*/
54+
55+
$autoload['libraries'] = array('pigeon');
56+
57+
58+
/*
59+
| -------------------------------------------------------------------
60+
| Auto-load Helper Files
61+
| -------------------------------------------------------------------
62+
| Prototype:
63+
|
64+
| $autoload['helper'] = array('url', 'file');
65+
*/
66+
67+
$autoload['helper'] = array();
68+
69+
70+
/*
71+
| -------------------------------------------------------------------
72+
| Auto-load Config files
73+
| -------------------------------------------------------------------
74+
| Prototype:
75+
|
76+
| $autoload['config'] = array('config1', 'config2');
77+
|
78+
| NOTE: This item is intended for use ONLY if you have created custom
79+
| config files. Otherwise, leave it blank.
80+
|
81+
*/
82+
83+
$autoload['config'] = array();
84+
85+
86+
/*
87+
| -------------------------------------------------------------------
88+
| Auto-load Language files
89+
| -------------------------------------------------------------------
90+
| Prototype:
91+
|
92+
| $autoload['language'] = array('lang1', 'lang2');
93+
|
94+
| NOTE: Do not include the "_lang" part of your file. For example
95+
| "codeigniter_lang.php" would be referenced as array('codeigniter');
96+
|
97+
*/
98+
99+
$autoload['language'] = array();
100+
101+
102+
/*
103+
| -------------------------------------------------------------------
104+
| Auto-load Models
105+
| -------------------------------------------------------------------
106+
| Prototype:
107+
|
108+
| $autoload['model'] = array('model1', 'model2');
109+
|
110+
*/
111+
112+
$autoload['model'] = array();
113+
114+
// ----------------------------------------------------------
115+
// Jamie Rumbelow's Presenters
116+
// ----------------------------------------------------------
117+
118+
require_once APPPATH . 'presenters/presenter.php';
119+
120+
/* End of file autoload.php */
121+
/* Location: ./application/config/autoload.php */

application/config/constants.php

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2+
3+
/*
4+
|--------------------------------------------------------------------------
5+
| File and Directory Modes
6+
|--------------------------------------------------------------------------
7+
|
8+
| These prefs are used when checking and setting modes when working
9+
| with the file system. The defaults are fine on servers with proper
10+
| security, but you may wish (or even need) to change the values in
11+
| certain environments (Apache running a separate process for each
12+
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
13+
| always be used to set the mode correctly.
14+
|
15+
*/
16+
define('FILE_READ_MODE', 0644);
17+
define('FILE_WRITE_MODE', 0666);
18+
define('DIR_READ_MODE', 0755);
19+
define('DIR_WRITE_MODE', 0777);
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| File Stream Modes
24+
|--------------------------------------------------------------------------
25+
|
26+
| These modes are used when working with fopen()/popen()
27+
|
28+
*/
29+
30+
define('FOPEN_READ', 'rb');
31+
define('FOPEN_READ_WRITE', 'r+b');
32+
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
33+
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
34+
define('FOPEN_WRITE_CREATE', 'ab');
35+
define('FOPEN_READ_WRITE_CREATE', 'a+b');
36+
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
37+
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
38+
39+
40+
/* End of file constants.php */
41+
/* Location: ./application/config/constants.php */

0 commit comments

Comments
 (0)