diff --git a/Config/bootstrap.php b/Config/bootstrap.php index de96a3f8..abe8c035 100644 --- a/Config/bootstrap.php +++ b/Config/bootstrap.php @@ -42,3 +42,9 @@ App::uses('Router', 'Routing'); Router::parseExtensions(); + +//インストールのapplication.ymlがない場合、Noticeになるため +if (! Configure::read('NetCommons.installed') && CakePlugin::loaded('Install')) { + App::uses('InstallUtil', 'Install.Utility'); + $InstallUtil = new InstallUtil(); +} diff --git a/View/Layouts/default.ctp b/View/Layouts/default.ctp index 328590fd..cc1c12b9 100644 --- a/View/Layouts/default.ctp +++ b/View/Layouts/default.ctp @@ -7,7 +7,6 @@ * @link http://www.netcommons.org NetCommons Project * @license http://www.netcommons.org/license.txt NetCommons License */ -$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework'); ?>