Skip to content

Commit

Permalink
application/ をCodeIgniter 3.0にアップデート
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed May 6, 2015
1 parent 6488977 commit 3dcdeef
Show file tree
Hide file tree
Showing 42 changed files with 994 additions and 597 deletions.
75 changes: 45 additions & 30 deletions application/config/autoload.php
@@ -1,4 +1,6 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
| AUTO-LOADER
Expand All @@ -18,52 +20,75 @@
|
| These are the things you can load automatically:
|
| 1. Libraries
| 2. Helper files
| 3. Plugins
| 4. Custom config files
| 5. Language files
| 6. Models
| 1. Packages
| 2. Libraries
| 3. Drivers
| 4. Helper files
| 5. Custom config files
| 6. Language files
| 7. Models
|
*/

/*
| -------------------------------------------------------------------
| Auto-load Packages
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/

$autoload['packages'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your system/application/libraries folder.
| or in your application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
| $autoload['libraries'] = array('database', 'email', 'session');
|
| You can also supply an alternative library name to be assigned
| in the controller:
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/

$autoload['libraries'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| Auto-load Drivers
| -------------------------------------------------------------------
| These classes are located in the system/libraries folder or in your
| application/libraries folder within their own subdirectory. They
| offer multiple interchangeable driver options.
|
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
| $autoload['drivers'] = array('cache');
*/

$autoload['helper'] = array();
$autoload['drivers'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Plugins
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['plugin'] = array('captcha', 'js_calendar');
| $autoload['helper'] = array('url', 'file');
*/

$autoload['plugin'] = array();
$autoload['helper'] = array();


/*
Expand Down Expand Up @@ -104,22 +129,12 @@
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('model1', 'model2');
| $autoload['model'] = array('first_model', 'second_model');
|
*/

$autoload['model'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Core Libraries
| -------------------------------------------------------------------
|
| DEPRECATED: Use $autoload['libraries'] above instead.
| You can also supply an alternative model name to be assigned
| in the controller:
|
| $autoload['model'] = array('first_model' => 'first');
*/
// $autoload['core'] = array();


?>
$autoload['model'] = array();

0 comments on commit 3dcdeef

Please sign in to comment.