From d777730349be6ceb2f652a463872dab910a4e3e5 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Fri, 12 Aug 2016 19:41:58 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=81=AE=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Schema/empty | 0 Console/Command/Task/empty | 0 Error/YAExceptionRenderer.php | 52 ---------------------------------- Lib/empty | 0 Model/Datasource/empty | 0 Test/Case/Model/Behavior/empty | 0 Test/Fixture/empty | 0 Vendor/empty | 0 8 files changed, 52 deletions(-) delete mode 100644 Config/Schema/empty delete mode 100644 Console/Command/Task/empty delete mode 100644 Error/YAExceptionRenderer.php delete mode 100644 Lib/empty delete mode 100644 Model/Datasource/empty delete mode 100644 Test/Case/Model/Behavior/empty delete mode 100644 Test/Fixture/empty delete mode 100644 Vendor/empty diff --git a/Config/Schema/empty b/Config/Schema/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Console/Command/Task/empty b/Console/Command/Task/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Error/YAExceptionRenderer.php b/Error/YAExceptionRenderer.php deleted file mode 100644 index 3cad3f5f..00000000 --- a/Error/YAExceptionRenderer.php +++ /dev/null @@ -1,52 +0,0 @@ - 1. - * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown - * and it is a type that ExceptionHandler does not know about it will be treated as a 500 error. - * - * ### Implementing application specific exception rendering - * - * You can implement application specific exception handling in one of a few ways: - * - * - Create a AppController::appError(); - * - Create a subclass of YAExceptionRenderer and configure it to be the `Exception.renderer` - * - * #### Using AppController::appError(); - * - * This controller method is called instead of the default exception handling. It receives the - * thrown exception as its only argument. You should implement your error handling in that method. - * - * #### Using a subclass of YAExceptionRenderer - * - * Using a subclass of YAExceptionRenderer gives you full control over how Exceptions are rendered, you - * can configure your class in your core.php, with `Configure::write('Exception.renderer', 'MyClass');` - * You should place any custom exception renderers in `app/Lib/Error`. - * - * @package NetCommons\NetCommons\Error - */ -class YAExceptionRenderer extends NetCommonsExceptionRenderer { - -} diff --git a/Lib/empty b/Lib/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Model/Datasource/empty b/Model/Datasource/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Test/Case/Model/Behavior/empty b/Test/Case/Model/Behavior/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Test/Fixture/empty b/Test/Fixture/empty deleted file mode 100644 index e69de29b..00000000 diff --git a/Vendor/empty b/Vendor/empty deleted file mode 100644 index e69de29b..00000000 From 228ff67cc7eaa7324d5fd6225f0aab62215329e0 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Fri, 12 Aug 2016 19:42:39 +0900 Subject: [PATCH 2/2] =?UTF-8?q?NetCommons3=E3=83=97=E3=83=AD=E3=82=B8?= =?UTF-8?q?=E3=82=A7=E3=82=AF=E3=83=88=E7=9B=B4=E4=B8=8B=E3=81=AB=E3=81=82?= =?UTF-8?q?=E3=82=8B=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92NetCommon?= =?UTF-8?q?s=E3=83=97=E3=83=A9=E3=82=B0=E3=82=A4=E3=83=B3=E4=B8=8B?= =?UTF-8?q?=E3=81=AE=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E8=A6=8B?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Console/Command/NetCommonsAppShell.php | 30 +++++++++++++++++++++++++ View/Helper/NetCommonsAppHelper.php | 31 ++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Console/Command/NetCommonsAppShell.php create mode 100644 View/Helper/NetCommonsAppHelper.php diff --git a/Console/Command/NetCommonsAppShell.php b/Console/Command/NetCommonsAppShell.php new file mode 100644 index 00000000..06150564 --- /dev/null +++ b/Console/Command/NetCommonsAppShell.php @@ -0,0 +1,30 @@ + + */ + +App::uses('Helper', 'View'); + +/** + * Application helper + * + * Add your application-wide methods in the class below, your helpers + * will inherit them. + */ +class NetCommonsAppHelper extends Helper { +}