Skip to content

Commit

Permalink
Initial Import
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Aug 25, 2006
0 parents commit b0dd10f
Show file tree
Hide file tree
Showing 225 changed files with 41,458 additions and 0 deletions.
81 changes: 81 additions & 0 deletions index.php
@@ -0,0 +1,81 @@
<?php

error_reporting(E_ALL);

/*
|------------------------------------------------
| SYSTEM FOLDER NAME
|------------------------------------------------
|
| This variable must contain the name of your "system"
| folder. Include the path if the folder is not in the same
| directory as this file. No trailing slash
*/

$system_folder = "system";

/*
|------------------------------------------------
| APPLICATION FOLDER NAME
|------------------------------------------------
|
| If you want this front controller to use a specific
| "application" folder you can set its name here.
| By doing so you can have multiple applications share
| a common set of Code Igniter system files.
| Note: It is assumed that your application folder will
| be located within the main system/application folder.
| For example, lets say you have two applications,
| "foo" and "bar":
|
| system/application/foo/
| system/application/foo/config/
| system/application/foo/controllers/
| system/application/foo/errors/
| system/application/foo/scripts/
| system/application/foo/views/
| system/application/bar/
| system/application/bar/config/
| system/application/bar/controllers/
| system/application/bar/errors/
| system/application/bar/scripts/
| system/application/bar/views/
|
| If you would like to use the "foo" application you'll
| set the variable like this:
|
| $application_folder = "foo";
|
*/

$application_folder = "";

/*
|================================================
| END OF USER CONFIGURABLE SETTINGS
|================================================
*/

if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
{
$system_folder = str_replace("\\", "/", realpath(dirname(__FILE__))).'/'.$system_folder;
}

if ($application_folder != '')
{
$application_folder .= '/';
}

// Older versions of PHP don't support this so we'll explicitly define it
if ( ! defined('E_STRICT'))
{
define('E_STRICT', 2048);
}

define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_folder.'/');
define('APPPATH', BASEPATH.'application/'.$application_folder);

require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;
?>
52 changes: 52 additions & 0 deletions license.txt
@@ -0,0 +1,52 @@
Copyright (c) 2006, pMachine, Inc.
All rights reserved.

This license is a legal agreement between you and pMachine Inc. for the use
of Code Igniter Software (the "Software"). By obtaining the Software you
agree to comply with the terms and conditions of this license.

PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:

1. A copy of this license agreement must be included with the distribution.

2. Redistributions of source code must retain the above copyright notice in
all source code files.

3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.

4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.

5. Products derived from the Software must include an acknowledgment that
they are derived from Code Igniter in their documentation and/or other
materials provided with the distribution.

6. Products derived from the Software may not be called "Code Igniter",
nor may "Code Igniter" appear in their name, without prior written
permission from pMachine, Inc.


INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.

DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.
101 changes: 101 additions & 0 deletions system/application/config/autoload.php
@@ -0,0 +1,101 @@
<?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. In addition to core systems you can auto-load plugins,
| helper files, config files, and your own scripts.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Core classes
| 2. Helper files
| 3. Plugins
| 4. Scripts
| 5. Custom config files
|
| Note: The items will be loaded in the order that they are defined
|
| Please read the user guide for more detailed information
*/

/*
| -------------------------------------------------------------------
| Auto-load Core Classes
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['core'] = array('database', 'session', 'xmlrpc');
*/

$autoload['core'] = array('session');


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

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


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

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


/*
| -------------------------------------------------------------------
| Auto-load Scripts
| -------------------------------------------------------------------
| The term "scripts" refers to you own PHP scripts that you've
| placed in the application/scripts/ folder
|
| Prototype:
|
| $autoload['script'] = array('my_script1', 'my_script2');
*/

$autoload['script'] = 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();



?>

0 comments on commit b0dd10f

Please sign in to comment.