forked from brockf/hero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding all files - moving to CI Reactor.
- Loading branch information
brockf
committed
Apr 19, 2011
1 parent
710b27a
commit 5587f01
Showing
1,633 changed files
with
231,396 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
Options +FollowSymlinks | ||
|
||
<FilesMatch "\.(txml|thtml|htaccess|htpasswd|protected|txt)$"> | ||
Order Allow,Deny | ||
Deny from all | ||
</FilesMatch> | ||
|
||
#Removes access to the system folder by users. | ||
#Additionally this will allow you to create a System.php controller, | ||
#previously this would not have been possible. | ||
#'system' can be replaced if you have renamed your system folder. | ||
RewriteCond %{REQUEST_URI} ^system.* | ||
RewriteRule ^(.*)$ index.php?/$1 [L] | ||
|
||
#Checks to see if the user is attempting to access a valid file, | ||
#such as an image or css document, if this isn't true it sends the | ||
#request to index.php | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)$ index.php?/$1 [L] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
# If we don't have mod_rewrite installed, all 404's | ||
# can be sent to index.php, and everything works as normal. | ||
# Submitted by: ElliotHaughin | ||
|
||
ErrorDocument 404 index.php | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | ||
/* | ||
| ------------------------------------------------------------------- | ||
| AUTO-LOADER | ||
| ------------------------------------------------------------------- | ||
| This file specifies which systems should be loaded by default. | ||
| | ||
| In order to keep the framework as light-weight as possible only the | ||
| absolute minimal resources are loaded by default. For example, | ||
| the database is not connected to automatically since no assumption | ||
| is made regarding whether you intend to use it. This file lets | ||
| you globally define which systems you would like loaded with every | ||
| request. | ||
| | ||
| ------------------------------------------------------------------- | ||
| Instructions | ||
| ------------------------------------------------------------------- | ||
| | ||
| These are the things you can load automatically: | ||
| | ||
| 1. Libraries | ||
| 2. Helper files | ||
| 3. Plugins | ||
| 4. Custom config files | ||
| 5. Language files | ||
| 6. Models | ||
| | ||
*/ | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Libraries | ||
| ------------------------------------------------------------------- | ||
| These are the classes located in the system/libraries folder | ||
| or in your system/opengateway/libraries folder. | ||
| | ||
| Prototype: | ||
| | ||
| $autoload['libraries'] = array('database', 'session', 'xmlrpc'); | ||
*/ | ||
|
||
if (file_exists(APPPATH . 'config/database.php')) { | ||
$autoload['libraries'] = array('database', | ||
'session', | ||
'auto_updater', | ||
'module', | ||
'email', | ||
'response' // for OpenGateway compatibility | ||
); | ||
} | ||
else { | ||
$autoload['libraries'] = array(); | ||
} | ||
|
||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Helper Files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['helper'] = array('url', 'file'); | ||
*/ | ||
|
||
$autoload['helper'] = array('ioncube_license', | ||
'url', | ||
'date', | ||
'local_time', | ||
'time_since', | ||
'money_format', | ||
'xml_value_prep', | ||
'branding/branded_include', | ||
'branding/branded_view', | ||
'setting', | ||
'query_value' | ||
); | ||
|
||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Plugins | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['plugin'] = array('captcha', 'js_calendar'); | ||
*/ | ||
|
||
$autoload['plugin'] = array(); | ||
|
||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Config files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['config'] = array('config1', 'config2'); | ||
| | ||
| NOTE: This item is intended for use ONLY if you have created custom | ||
| config files. Otherwise, leave it blank. | ||
| | ||
*/ | ||
|
||
$autoload['config'] = array('version'); | ||
|
||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Language files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['language'] = array('lang1', 'lang2'); | ||
| | ||
| NOTE: Do not include the "_lang" part of your file. For example | ||
| "codeigniter_lang.php" would be referenced as array('codeigniter'); | ||
| | ||
*/ | ||
|
||
$autoload['language'] = array(); | ||
|
||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Models | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['model'] = array('model1', 'model2'); | ||
| | ||
*/ | ||
|
||
if (file_exists(APPPATH . 'config/database.php')) { | ||
$autoload['model'] = array( | ||
'modules/module_model', | ||
'users/user_model', | ||
'settings/settings_model', | ||
'billing/gateway_model' | ||
); | ||
} | ||
else { | ||
$autoload['model'] = array(); | ||
} | ||
|
||
/* End of file autoload.php */ | ||
/* Location: ./system/opengateway/config/autoload.php */ |
Oops, something went wrong.