From dc2629d8ef6c7a8ee36e38004f644b11df12ac64 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 17 Mar 2013 17:10:31 -0400 Subject: [PATCH] Temporarily remove App so I can delete app. HFS+ is the worst sometimes. --- {App => App_}/.htaccess | 0 {App => App_}/Config/Schema/db_acl.php | 0 {App => App_}/Config/Schema/db_acl.sql | 0 {App => App_}/Config/Schema/i18n.php | 0 {App => App_}/Config/Schema/i18n.sql | 0 {App => App_}/Config/Schema/sessions.php | 0 {App => App_}/Config/Schema/sessions.sql | 0 {App => App_}/Config/acl.ini.php | 0 {App => App_}/Config/acl.php | 0 {App => App_}/Config/app.php | 0 {App => App_}/Config/bootstrap.php | 0 {App => App_}/Config/cache.php | 0 {App => App_}/Config/datasources.default.php | 0 {App => App_}/Config/email.default.php | 0 {App => App_}/Config/error.php | 0 {App => App_}/Config/logging.php | 0 {App => App_}/Config/paths.php | 0 {App => App_}/Config/routes.php | 0 {App => App_}/Config/session.php | 0 {App => App_}/Console/Command/AppShell.php | 0 {App => App_}/Console/Command/Task/empty | 0 {App => App_}/Console/Templates/empty | 0 {App => App_}/Console/cake | 0 {App => App_}/Console/cake.bat | 0 {App => App_}/Console/cake.php | 0 {App => App_}/Controller/AppController.php | 0 {App => App_}/Controller/Component/empty | 0 {App => App_}/Controller/PagesController.php | 0 {App => App_}/Lib/empty | 0 {App => App_}/Locale/eng/LC_MESSAGES/empty | 0 {App => App_}/Model/AppModel.php | 0 {App => App_}/Model/Behavior/empty | 0 {App => App_}/Model/Datasource/empty | 0 {App => App_}/Plugin/empty | 0 {App => App_}/README.md | 0 {App => App_}/Test/Fixture/empty | 0 .../Test/TestCase/Controller/Component/empty | 0 .../Test/TestCase/Model/Behavior/empty | 0 {App => App_}/Test/TestCase/View/Helper/empty | 0 {App => App_}/View/Elements/empty | 0 {App => App_}/View/Emails/html/default.ctp | 0 {App => App_}/View/Emails/text/default.ctp | 0 {App => App_}/View/Errors/error400.ctp | 0 {App => App_}/View/Errors/error500.ctp | 0 {App => App_}/View/Helper/AppHelper.php | 0 .../View/Layouts/Emails/html/default.ctp | 0 .../View/Layouts/Emails/text/default.ctp | 0 {App => App_}/View/Layouts/ajax.ctp | 0 {App => App_}/View/Layouts/default.ctp | 0 {App => App_}/View/Layouts/error.ctp | 0 {App => App_}/View/Layouts/flash.ctp | 0 {App => App_}/View/Layouts/js/default.ctp | 0 {App => App_}/View/Layouts/rss/default.ctp | 0 {App => App_}/View/Layouts/xml/default.ctp | 0 {App => App_}/View/Pages/home.ctp | 0 {App => App_}/View/Scaffolds/empty | 0 {App => App_}/composer.json | 0 {App => App_}/index.php | 0 {App => App_}/tmp/cache/models/empty | 0 {App => App_}/tmp/cache/persistent/empty | 0 {App => App_}/tmp/cache/views/empty | 0 {App => App_}/tmp/logs/empty | 0 {App => App_}/tmp/sessions/empty | 0 {App => App_}/tmp/tests/empty | 0 {App => App_}/vendor/empty | 0 {App => App_}/webroot/.htaccess | 0 {App => App_}/webroot/css/cake.generic.css | 0 {App => App_}/webroot/favicon.ico | Bin {App => App_}/webroot/files/empty | 0 {App => App_}/webroot/img/cake.icon.png | Bin {App => App_}/webroot/img/cake.power.gif | Bin {App => App_}/webroot/img/test-error-icon.png | Bin {App => App_}/webroot/img/test-fail-icon.png | Bin {App => App_}/webroot/img/test-pass-icon.png | Bin {App => App_}/webroot/img/test-skip-icon.png | Bin {App => App_}/webroot/index.php | 0 {App => App_}/webroot/js/empty | 0 app/Config/email.php.default | 92 ---------------- app/webroot/index.php | 37 ------- app/webroot/test.php | 98 ------------------ 80 files changed, 227 deletions(-) rename {App => App_}/.htaccess (100%) rename {App => App_}/Config/Schema/db_acl.php (100%) rename {App => App_}/Config/Schema/db_acl.sql (100%) rename {App => App_}/Config/Schema/i18n.php (100%) rename {App => App_}/Config/Schema/i18n.sql (100%) rename {App => App_}/Config/Schema/sessions.php (100%) rename {App => App_}/Config/Schema/sessions.sql (100%) rename {App => App_}/Config/acl.ini.php (100%) rename {App => App_}/Config/acl.php (100%) rename {App => App_}/Config/app.php (100%) rename {App => App_}/Config/bootstrap.php (100%) rename {App => App_}/Config/cache.php (100%) rename {App => App_}/Config/datasources.default.php (100%) rename {App => App_}/Config/email.default.php (100%) rename {App => App_}/Config/error.php (100%) rename {App => App_}/Config/logging.php (100%) rename {App => App_}/Config/paths.php (100%) rename {App => App_}/Config/routes.php (100%) rename {App => App_}/Config/session.php (100%) rename {App => App_}/Console/Command/AppShell.php (100%) rename {App => App_}/Console/Command/Task/empty (100%) rename {App => App_}/Console/Templates/empty (100%) rename {App => App_}/Console/cake (100%) rename {App => App_}/Console/cake.bat (100%) rename {App => App_}/Console/cake.php (100%) rename {App => App_}/Controller/AppController.php (100%) rename {App => App_}/Controller/Component/empty (100%) rename {App => App_}/Controller/PagesController.php (100%) rename {App => App_}/Lib/empty (100%) rename {App => App_}/Locale/eng/LC_MESSAGES/empty (100%) rename {App => App_}/Model/AppModel.php (100%) rename {App => App_}/Model/Behavior/empty (100%) rename {App => App_}/Model/Datasource/empty (100%) rename {App => App_}/Plugin/empty (100%) rename {App => App_}/README.md (100%) rename {App => App_}/Test/Fixture/empty (100%) rename {App => App_}/Test/TestCase/Controller/Component/empty (100%) rename {App => App_}/Test/TestCase/Model/Behavior/empty (100%) rename {App => App_}/Test/TestCase/View/Helper/empty (100%) rename {App => App_}/View/Elements/empty (100%) rename {App => App_}/View/Emails/html/default.ctp (100%) rename {App => App_}/View/Emails/text/default.ctp (100%) rename {App => App_}/View/Errors/error400.ctp (100%) rename {App => App_}/View/Errors/error500.ctp (100%) rename {App => App_}/View/Helper/AppHelper.php (100%) rename {App => App_}/View/Layouts/Emails/html/default.ctp (100%) rename {App => App_}/View/Layouts/Emails/text/default.ctp (100%) rename {App => App_}/View/Layouts/ajax.ctp (100%) rename {App => App_}/View/Layouts/default.ctp (100%) rename {App => App_}/View/Layouts/error.ctp (100%) rename {App => App_}/View/Layouts/flash.ctp (100%) rename {App => App_}/View/Layouts/js/default.ctp (100%) rename {App => App_}/View/Layouts/rss/default.ctp (100%) rename {App => App_}/View/Layouts/xml/default.ctp (100%) rename {App => App_}/View/Pages/home.ctp (100%) rename {App => App_}/View/Scaffolds/empty (100%) rename {App => App_}/composer.json (100%) rename {App => App_}/index.php (100%) rename {App => App_}/tmp/cache/models/empty (100%) rename {App => App_}/tmp/cache/persistent/empty (100%) rename {App => App_}/tmp/cache/views/empty (100%) rename {App => App_}/tmp/logs/empty (100%) rename {App => App_}/tmp/sessions/empty (100%) rename {App => App_}/tmp/tests/empty (100%) rename {App => App_}/vendor/empty (100%) rename {App => App_}/webroot/.htaccess (100%) rename {App => App_}/webroot/css/cake.generic.css (100%) rename {App => App_}/webroot/favicon.ico (100%) rename {App => App_}/webroot/files/empty (100%) rename {App => App_}/webroot/img/cake.icon.png (100%) rename {App => App_}/webroot/img/cake.power.gif (100%) rename {App => App_}/webroot/img/test-error-icon.png (100%) rename {App => App_}/webroot/img/test-fail-icon.png (100%) rename {App => App_}/webroot/img/test-pass-icon.png (100%) rename {App => App_}/webroot/img/test-skip-icon.png (100%) rename {App => App_}/webroot/index.php (100%) rename {App => App_}/webroot/js/empty (100%) delete mode 100644 app/Config/email.php.default delete mode 100644 app/webroot/index.php delete mode 100644 app/webroot/test.php diff --git a/App/.htaccess b/App_/.htaccess similarity index 100% rename from App/.htaccess rename to App_/.htaccess diff --git a/App/Config/Schema/db_acl.php b/App_/Config/Schema/db_acl.php similarity index 100% rename from App/Config/Schema/db_acl.php rename to App_/Config/Schema/db_acl.php diff --git a/App/Config/Schema/db_acl.sql b/App_/Config/Schema/db_acl.sql similarity index 100% rename from App/Config/Schema/db_acl.sql rename to App_/Config/Schema/db_acl.sql diff --git a/App/Config/Schema/i18n.php b/App_/Config/Schema/i18n.php similarity index 100% rename from App/Config/Schema/i18n.php rename to App_/Config/Schema/i18n.php diff --git a/App/Config/Schema/i18n.sql b/App_/Config/Schema/i18n.sql similarity index 100% rename from App/Config/Schema/i18n.sql rename to App_/Config/Schema/i18n.sql diff --git a/App/Config/Schema/sessions.php b/App_/Config/Schema/sessions.php similarity index 100% rename from App/Config/Schema/sessions.php rename to App_/Config/Schema/sessions.php diff --git a/App/Config/Schema/sessions.sql b/App_/Config/Schema/sessions.sql similarity index 100% rename from App/Config/Schema/sessions.sql rename to App_/Config/Schema/sessions.sql diff --git a/App/Config/acl.ini.php b/App_/Config/acl.ini.php similarity index 100% rename from App/Config/acl.ini.php rename to App_/Config/acl.ini.php diff --git a/App/Config/acl.php b/App_/Config/acl.php similarity index 100% rename from App/Config/acl.php rename to App_/Config/acl.php diff --git a/App/Config/app.php b/App_/Config/app.php similarity index 100% rename from App/Config/app.php rename to App_/Config/app.php diff --git a/App/Config/bootstrap.php b/App_/Config/bootstrap.php similarity index 100% rename from App/Config/bootstrap.php rename to App_/Config/bootstrap.php diff --git a/App/Config/cache.php b/App_/Config/cache.php similarity index 100% rename from App/Config/cache.php rename to App_/Config/cache.php diff --git a/App/Config/datasources.default.php b/App_/Config/datasources.default.php similarity index 100% rename from App/Config/datasources.default.php rename to App_/Config/datasources.default.php diff --git a/App/Config/email.default.php b/App_/Config/email.default.php similarity index 100% rename from App/Config/email.default.php rename to App_/Config/email.default.php diff --git a/App/Config/error.php b/App_/Config/error.php similarity index 100% rename from App/Config/error.php rename to App_/Config/error.php diff --git a/App/Config/logging.php b/App_/Config/logging.php similarity index 100% rename from App/Config/logging.php rename to App_/Config/logging.php diff --git a/App/Config/paths.php b/App_/Config/paths.php similarity index 100% rename from App/Config/paths.php rename to App_/Config/paths.php diff --git a/App/Config/routes.php b/App_/Config/routes.php similarity index 100% rename from App/Config/routes.php rename to App_/Config/routes.php diff --git a/App/Config/session.php b/App_/Config/session.php similarity index 100% rename from App/Config/session.php rename to App_/Config/session.php diff --git a/App/Console/Command/AppShell.php b/App_/Console/Command/AppShell.php similarity index 100% rename from App/Console/Command/AppShell.php rename to App_/Console/Command/AppShell.php diff --git a/App/Console/Command/Task/empty b/App_/Console/Command/Task/empty similarity index 100% rename from App/Console/Command/Task/empty rename to App_/Console/Command/Task/empty diff --git a/App/Console/Templates/empty b/App_/Console/Templates/empty similarity index 100% rename from App/Console/Templates/empty rename to App_/Console/Templates/empty diff --git a/App/Console/cake b/App_/Console/cake similarity index 100% rename from App/Console/cake rename to App_/Console/cake diff --git a/App/Console/cake.bat b/App_/Console/cake.bat similarity index 100% rename from App/Console/cake.bat rename to App_/Console/cake.bat diff --git a/App/Console/cake.php b/App_/Console/cake.php similarity index 100% rename from App/Console/cake.php rename to App_/Console/cake.php diff --git a/App/Controller/AppController.php b/App_/Controller/AppController.php similarity index 100% rename from App/Controller/AppController.php rename to App_/Controller/AppController.php diff --git a/App/Controller/Component/empty b/App_/Controller/Component/empty similarity index 100% rename from App/Controller/Component/empty rename to App_/Controller/Component/empty diff --git a/App/Controller/PagesController.php b/App_/Controller/PagesController.php similarity index 100% rename from App/Controller/PagesController.php rename to App_/Controller/PagesController.php diff --git a/App/Lib/empty b/App_/Lib/empty similarity index 100% rename from App/Lib/empty rename to App_/Lib/empty diff --git a/App/Locale/eng/LC_MESSAGES/empty b/App_/Locale/eng/LC_MESSAGES/empty similarity index 100% rename from App/Locale/eng/LC_MESSAGES/empty rename to App_/Locale/eng/LC_MESSAGES/empty diff --git a/App/Model/AppModel.php b/App_/Model/AppModel.php similarity index 100% rename from App/Model/AppModel.php rename to App_/Model/AppModel.php diff --git a/App/Model/Behavior/empty b/App_/Model/Behavior/empty similarity index 100% rename from App/Model/Behavior/empty rename to App_/Model/Behavior/empty diff --git a/App/Model/Datasource/empty b/App_/Model/Datasource/empty similarity index 100% rename from App/Model/Datasource/empty rename to App_/Model/Datasource/empty diff --git a/App/Plugin/empty b/App_/Plugin/empty similarity index 100% rename from App/Plugin/empty rename to App_/Plugin/empty diff --git a/App/README.md b/App_/README.md similarity index 100% rename from App/README.md rename to App_/README.md diff --git a/App/Test/Fixture/empty b/App_/Test/Fixture/empty similarity index 100% rename from App/Test/Fixture/empty rename to App_/Test/Fixture/empty diff --git a/App/Test/TestCase/Controller/Component/empty b/App_/Test/TestCase/Controller/Component/empty similarity index 100% rename from App/Test/TestCase/Controller/Component/empty rename to App_/Test/TestCase/Controller/Component/empty diff --git a/App/Test/TestCase/Model/Behavior/empty b/App_/Test/TestCase/Model/Behavior/empty similarity index 100% rename from App/Test/TestCase/Model/Behavior/empty rename to App_/Test/TestCase/Model/Behavior/empty diff --git a/App/Test/TestCase/View/Helper/empty b/App_/Test/TestCase/View/Helper/empty similarity index 100% rename from App/Test/TestCase/View/Helper/empty rename to App_/Test/TestCase/View/Helper/empty diff --git a/App/View/Elements/empty b/App_/View/Elements/empty similarity index 100% rename from App/View/Elements/empty rename to App_/View/Elements/empty diff --git a/App/View/Emails/html/default.ctp b/App_/View/Emails/html/default.ctp similarity index 100% rename from App/View/Emails/html/default.ctp rename to App_/View/Emails/html/default.ctp diff --git a/App/View/Emails/text/default.ctp b/App_/View/Emails/text/default.ctp similarity index 100% rename from App/View/Emails/text/default.ctp rename to App_/View/Emails/text/default.ctp diff --git a/App/View/Errors/error400.ctp b/App_/View/Errors/error400.ctp similarity index 100% rename from App/View/Errors/error400.ctp rename to App_/View/Errors/error400.ctp diff --git a/App/View/Errors/error500.ctp b/App_/View/Errors/error500.ctp similarity index 100% rename from App/View/Errors/error500.ctp rename to App_/View/Errors/error500.ctp diff --git a/App/View/Helper/AppHelper.php b/App_/View/Helper/AppHelper.php similarity index 100% rename from App/View/Helper/AppHelper.php rename to App_/View/Helper/AppHelper.php diff --git a/App/View/Layouts/Emails/html/default.ctp b/App_/View/Layouts/Emails/html/default.ctp similarity index 100% rename from App/View/Layouts/Emails/html/default.ctp rename to App_/View/Layouts/Emails/html/default.ctp diff --git a/App/View/Layouts/Emails/text/default.ctp b/App_/View/Layouts/Emails/text/default.ctp similarity index 100% rename from App/View/Layouts/Emails/text/default.ctp rename to App_/View/Layouts/Emails/text/default.ctp diff --git a/App/View/Layouts/ajax.ctp b/App_/View/Layouts/ajax.ctp similarity index 100% rename from App/View/Layouts/ajax.ctp rename to App_/View/Layouts/ajax.ctp diff --git a/App/View/Layouts/default.ctp b/App_/View/Layouts/default.ctp similarity index 100% rename from App/View/Layouts/default.ctp rename to App_/View/Layouts/default.ctp diff --git a/App/View/Layouts/error.ctp b/App_/View/Layouts/error.ctp similarity index 100% rename from App/View/Layouts/error.ctp rename to App_/View/Layouts/error.ctp diff --git a/App/View/Layouts/flash.ctp b/App_/View/Layouts/flash.ctp similarity index 100% rename from App/View/Layouts/flash.ctp rename to App_/View/Layouts/flash.ctp diff --git a/App/View/Layouts/js/default.ctp b/App_/View/Layouts/js/default.ctp similarity index 100% rename from App/View/Layouts/js/default.ctp rename to App_/View/Layouts/js/default.ctp diff --git a/App/View/Layouts/rss/default.ctp b/App_/View/Layouts/rss/default.ctp similarity index 100% rename from App/View/Layouts/rss/default.ctp rename to App_/View/Layouts/rss/default.ctp diff --git a/App/View/Layouts/xml/default.ctp b/App_/View/Layouts/xml/default.ctp similarity index 100% rename from App/View/Layouts/xml/default.ctp rename to App_/View/Layouts/xml/default.ctp diff --git a/App/View/Pages/home.ctp b/App_/View/Pages/home.ctp similarity index 100% rename from App/View/Pages/home.ctp rename to App_/View/Pages/home.ctp diff --git a/App/View/Scaffolds/empty b/App_/View/Scaffolds/empty similarity index 100% rename from App/View/Scaffolds/empty rename to App_/View/Scaffolds/empty diff --git a/App/composer.json b/App_/composer.json similarity index 100% rename from App/composer.json rename to App_/composer.json diff --git a/App/index.php b/App_/index.php similarity index 100% rename from App/index.php rename to App_/index.php diff --git a/App/tmp/cache/models/empty b/App_/tmp/cache/models/empty similarity index 100% rename from App/tmp/cache/models/empty rename to App_/tmp/cache/models/empty diff --git a/App/tmp/cache/persistent/empty b/App_/tmp/cache/persistent/empty similarity index 100% rename from App/tmp/cache/persistent/empty rename to App_/tmp/cache/persistent/empty diff --git a/App/tmp/cache/views/empty b/App_/tmp/cache/views/empty similarity index 100% rename from App/tmp/cache/views/empty rename to App_/tmp/cache/views/empty diff --git a/App/tmp/logs/empty b/App_/tmp/logs/empty similarity index 100% rename from App/tmp/logs/empty rename to App_/tmp/logs/empty diff --git a/App/tmp/sessions/empty b/App_/tmp/sessions/empty similarity index 100% rename from App/tmp/sessions/empty rename to App_/tmp/sessions/empty diff --git a/App/tmp/tests/empty b/App_/tmp/tests/empty similarity index 100% rename from App/tmp/tests/empty rename to App_/tmp/tests/empty diff --git a/App/vendor/empty b/App_/vendor/empty similarity index 100% rename from App/vendor/empty rename to App_/vendor/empty diff --git a/App/webroot/.htaccess b/App_/webroot/.htaccess similarity index 100% rename from App/webroot/.htaccess rename to App_/webroot/.htaccess diff --git a/App/webroot/css/cake.generic.css b/App_/webroot/css/cake.generic.css similarity index 100% rename from App/webroot/css/cake.generic.css rename to App_/webroot/css/cake.generic.css diff --git a/App/webroot/favicon.ico b/App_/webroot/favicon.ico similarity index 100% rename from App/webroot/favicon.ico rename to App_/webroot/favicon.ico diff --git a/App/webroot/files/empty b/App_/webroot/files/empty similarity index 100% rename from App/webroot/files/empty rename to App_/webroot/files/empty diff --git a/App/webroot/img/cake.icon.png b/App_/webroot/img/cake.icon.png similarity index 100% rename from App/webroot/img/cake.icon.png rename to App_/webroot/img/cake.icon.png diff --git a/App/webroot/img/cake.power.gif b/App_/webroot/img/cake.power.gif similarity index 100% rename from App/webroot/img/cake.power.gif rename to App_/webroot/img/cake.power.gif diff --git a/App/webroot/img/test-error-icon.png b/App_/webroot/img/test-error-icon.png similarity index 100% rename from App/webroot/img/test-error-icon.png rename to App_/webroot/img/test-error-icon.png diff --git a/App/webroot/img/test-fail-icon.png b/App_/webroot/img/test-fail-icon.png similarity index 100% rename from App/webroot/img/test-fail-icon.png rename to App_/webroot/img/test-fail-icon.png diff --git a/App/webroot/img/test-pass-icon.png b/App_/webroot/img/test-pass-icon.png similarity index 100% rename from App/webroot/img/test-pass-icon.png rename to App_/webroot/img/test-pass-icon.png diff --git a/App/webroot/img/test-skip-icon.png b/App_/webroot/img/test-skip-icon.png similarity index 100% rename from App/webroot/img/test-skip-icon.png rename to App_/webroot/img/test-skip-icon.png diff --git a/App/webroot/index.php b/App_/webroot/index.php similarity index 100% rename from App/webroot/index.php rename to App_/webroot/index.php diff --git a/App/webroot/js/empty b/App_/webroot/js/empty similarity index 100% rename from App/webroot/js/empty rename to App_/webroot/js/empty diff --git a/app/Config/email.php.default b/app/Config/email.php.default deleted file mode 100644 index e022be87f93..00000000000 --- a/app/Config/email.php.default +++ /dev/null @@ -1,92 +0,0 @@ - The name of a supported transport; valid options are as follows: - * Mail - Send using PHP mail function - * Smtp - Send using SMTP - * Debug - Do not send the email, just return the result - * - * You can add custom transports (or override existing transports) by adding the - * appropriate file to app/Network/Email. Transports should be named 'YourTransport.php', - * where 'Your' is the name of the transport. - * - * from => - * The origin email. See CakeEmail::from() about the valid values - * - */ -class EmailConfig { - - public $default = array( - 'transport' => 'Mail', - 'from' => 'you@localhost', - //'charset' => 'utf-8', - //'headerCharset' => 'utf-8', - ); - - public $smtp = array( - 'transport' => 'Smtp', - 'from' => array('site@localhost' => 'My Site'), - 'host' => 'localhost', - 'port' => 25, - 'timeout' => 30, - 'username' => 'user', - 'password' => 'secret', - 'client' => null, - 'log' => false - //'charset' => 'utf-8', - //'headerCharset' => 'utf-8', - ); - - public $fast = array( - 'from' => 'you@localhost', - 'sender' => null, - 'to' => null, - 'cc' => null, - 'bcc' => null, - 'replyTo' => null, - 'readReceipt' => null, - 'returnPath' => null, - 'messageId' => true, - 'subject' => null, - 'message' => null, - 'headers' => null, - 'viewRender' => null, - 'template' => false, - 'layout' => false, - 'viewVars' => null, - 'attachments' => null, - 'emailFormat' => null, - 'transport' => 'Smtp', - 'host' => 'localhost', - 'port' => 25, - 'timeout' => 30, - 'username' => 'user', - 'password' => 'secret', - 'client' => null, - 'log' => true, - //'charset' => 'utf-8', - //'headerCharset' => 'utf-8', - ); - -} diff --git a/app/webroot/index.php b/app/webroot/index.php deleted file mode 100644 index 2c31216d948..00000000000 --- a/app/webroot/index.php +++ /dev/null @@ -1,37 +0,0 @@ -dispatch( - Request::createFromGlobals(), - new Response() -); diff --git a/app/webroot/test.php b/app/webroot/test.php deleted file mode 100644 index f18be099fdb..00000000000 --- a/app/webroot/test.php +++ /dev/null @@ -1,98 +0,0 @@ - - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * - * Licensed under The MIT License - * For full copyright and license information, please see the LICENSE.txt - * Redistributions of files must retain the above copyright notice - * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://book.cakephp.org/2.0/en/development/testing.html - * @package app.webroot - * @since CakePHP(tm) v 1.2.0.4433 - * @license MIT License (http://www.opensource.org/licenses/mit-license.php) - */ -set_time_limit(0); -ini_set('display_errors', 1); -/** - * Use the DS to separate the directories in other defines - */ -if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); -} - -/** - * These defines should only be edited if you have cake installed in - * a directory layout other than the way it is distributed. - * When using custom settings be sure to use the DS and do not add a trailing DS. - */ - -/** - * The full path to the directory which holds "app", WITHOUT a trailing DS. - * - */ -if (!defined('ROOT')) { - define('ROOT', dirname(dirname(dirname(__FILE__)))); -} - -/** - * The actual directory name for the "app". - * - */ -if (!defined('APP_DIR')) { - define('APP_DIR', basename(dirname(dirname(__FILE__)))); -} - -/** - * The absolute path to the "Cake" directory, WITHOUT a trailing DS. - * - * For ease of development CakePHP uses PHP's include_path. If you - * need to cannot modify your include_path, you can set this path. - * - * Leaving this constant undefined will result in it being defined in Cake/bootstrap.php - * - * The following line differs from its sibling - * /lib/Cake/Console/Templates/skel/webroot/test.php - */ -//define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib'); - -/** - * Editing below this line should not be necessary. - * Change at your own risk. - * - */ -if (!defined('WEBROOT_DIR')) { - define('WEBROOT_DIR', basename(dirname(__FILE__))); -} -if (!defined('WWW_ROOT')) { - define('WWW_ROOT', dirname(__FILE__) . DS); -} - -if (!defined('CAKE_CORE_INCLUDE_PATH')) { - if (function_exists('ini_set')) { - ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path')); - } - if (!include ('Cake' . DS . 'bootstrap.php')) { - $failed = true; - } -} else { - if (!include (CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php')) { - $failed = true; - } -} -if (!empty($failed)) { - trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); -} - -if (Configure::read('debug') < 1) { - throw new NotFoundException(__d('cake_dev', 'Debug setting does not allow access to this url.')); -} - -require_once CAKE . 'TestSuite' . DS . 'CakeTestSuiteDispatcher.php'; - -CakeTestSuiteDispatcher::run();