Commit: e0b271f4da98f4834564c78309e8fb1d5b4496fd
Author: gwoo | Date: 2009-12-18 08:56:09 -0800
diff --git a/config/bootstrap.php b/config/bootstrap.php
index 07321cc..19b567f 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -17,7 +17,7 @@ use \lithium\core\Libraries;
* directory as your application. If you use the same libraries in multiple applications, you can
* set this to a shared path on your server.
*/
-define('LITHIUM_LIBRARY_PATH', dirname(dirname(__DIR__)) . '/libraries');
+define('LITHIUM_LIBRARY_PATH', dirname(dirname(__DIR__)) . '/lithium/libraries');
/**
* This is the path to your application's directory. It contains all the sub-folders for your
@@ -50,17 +50,6 @@ require LITHIUM_LIBRARY_PATH . '/lithium/util/Inflector.php';
require LITHIUM_LIBRARY_PATH . '/lithium/util/Set.php';
require LITHIUM_LIBRARY_PATH . '/lithium/util/String.php';
require LITHIUM_LIBRARY_PATH . '/lithium/core/Environment.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/http/Base.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/http/Media.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/http/Request.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/http/Response.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/http/Route.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Controller.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Dispatcher.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Request.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/action/Response.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/View.php';
-require LITHIUM_LIBRARY_PATH . '/lithium/template/view/Renderer.php';
/**
* Add the Lithium core library. This sets default paths and initializes the autoloader. You
@@ -72,12 +61,7 @@ Libraries::add('lithium');
* Add the application. You can pass a `'path'` key here if this bootstrap file is outside of
* your main application, but generally you should not need to change any settings.
*/
-Libraries::add('app');
-
-/**
- * Add some plugins
- */
-// Libraries::add('plugin', 'li3_docs');
+Libraries::add('app', array('bootstrap' => false));
/**
* Add libraries from submodules.
@@ -87,87 +71,5 @@ Libraries::add('app');
// 'loader' => '\spriebsch\Loader\Autoloader::autoload'
// ));
-/**
- * This configures your session storage. The Cookie storage adapter must be connected first, since
- * it intercepts any writes where the `'expires'` key is set in the options array. When creating a
- * new application, it is suggested that you change the value of `'key'` below.
- */
-// use \lithium\storage\Session;
-//
-// Session::config(array(
-// 'default' => array('adapter' => 'Php')
-// ));
-
-/*
- * Inflector configuration example. If your application has custom singular or plural rules, or
- * extra non-ASCII characters to transliterate, you can configure that by uncommenting the lines
- * below.
- */
-// use lithium\util\Inflector;
-//
-// Inflector::rules("plural", array(
-// '/(s)tatus$/i' => '\1\2tatuses',
-// '/^(ox)$/i' => '\1\2en',
-// '/([m|l])ouse$/i' => '\1ice'
-// ));
-//
-// Inflector::rules("uninflectedPlural", array('.*[nrlm]ese', '.*deer', '.*ois', '.*pox'));
-//
-// Inflector::rules("irregularPlural", array('atlas' => 'atlases', 'brother' => 'brothers'));
-//
-// Inflector::rules("singular", array(
-// '/(s)tatuses$/i' => '\1\2tatus',
-// '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i'
-// ));
-
-/**
- * Globalization (g11n) catalog configuration. The catalog allows for obtaining and
- * writing globalized data. Each configuration can be adjusted through the following settings:
- *
- * - `'adapter' The name of a supported adapter. The builtin adapters are _memory_ (a
- * simple adapter good for runtime data and testing), _gettext_, _cldr_ (for
- * interfacing with Unicode's common locale data repository) and _code_ (used mainly for
- * extracting message templates from source code).
- *
- * - `'path'` All adapters with the exception of the _memory_ adapter require a directory
- * which holds the data.
- *
- * - `'scope'` If you plan on using scoping i.e. for accessing plugin data separately you
- * need to specify a scope for each configuration, except for those using the _memory_ or
- * _gettext_ adapter which handle this internally.
- */
-// use lithium\g11n\Catalog;
-//
-// Catalog::config(array(
-// 'runtime' => array('adapter' => 'Memory'),
-// 'app' => array('adapter' => 'Gettext', 'path' => LITHIUM_APP_PATH . '/resources/po'),
-// 'lithium' => array('adapter' => 'Gettext', 'path' => LITHIUM_LIBRARY_PATH . '/lithium/resources/po')
-// ));
-
-/**
- * Globalization runtime data. You can add globalized data during runtime utilizing a
- * configuration set up to use the _memory_ adapter.
- */
-// $data = array('en' => function($n) { return $n != 1 ? 1 : 0; });
-// Catalog::write('message.plural', $data, array('name' => 'runtime'));
-
-/**
- * Enabling globalization integration. Classes in the framework are designed with
- * globalization in mind. To enable globalization for these classes we just need to pass
- * the needed data into them.
- */
-// use lithium\util\Validator;
-// use lithium\util\Inflector;
-//
-// Validator::add('postalCode',
-// Catalog::read('validation.postalCode', array('en_US'))
-// );
-// Inflector::rules('transliterations',
-// Catalog::read('inflection.transliteration', array('en'))
-// );
-
-/**
- * Your custom code goes here.
- */
?>
\ No newline at end of file
diff --git a/config/connections.php b/config/connections.php
deleted file mode 100644
index e69de29..0000000
diff --git a/config/routes.php b/config/routes.php
deleted file mode 100644
index e69de29..0000000
diff --git a/config/switchboard.php b/config/switchboard.php
deleted file mode 100644
index e69de29..0000000