mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixing template location in Project task.
This commit is contained in:
parent
4cb70580a2
commit
659414f04f
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class ProjectTask extends Shell {
|
|||
function createHome($dir) {
|
||||
$app = basename($dir);
|
||||
$path = $dir . 'views' . DS . 'pages' . DS;
|
||||
include(CAKE_CORE_INCLUDE_PATH.DS.'cake'.DS.'console'.DS.'libs'.DS.'templates'.DS.'views'.DS.'home.ctp');
|
||||
include(CAKE_CORE_INCLUDE_PATH.DS.'cake'.DS.'console'.DS.'libs'.DS.'templates'.DS.'default'.DS.'views'.DS.'home.ctp');
|
||||
return $this->createFile($path.'home.ctp', $output);
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue