mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Pages directory should be capitalized.
This commit is contained in:
parent
ce774c0083
commit
930ef89f8c
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class ProjectTask extends Shell {
|
||||||
*/
|
*/
|
||||||
public function createHome($dir) {
|
public function createHome($dir) {
|
||||||
$app = basename($dir);
|
$app = basename($dir);
|
||||||
$path = $dir . 'View' . DS . 'pages' . DS;
|
$path = $dir . 'View' . DS . 'Pages' . DS;
|
||||||
$source = CAKE . 'Console' . DS . 'templates' . DS .'default' . DS . 'views' . DS . 'home.ctp';
|
$source = CAKE . 'Console' . DS . 'templates' . DS .'default' . DS . 'views' . DS . 'home.ctp';
|
||||||
include($source);
|
include($source);
|
||||||
return $this->createFile($path.'home.ctp', $output);
|
return $this->createFile($path.'home.ctp', $output);
|
||||||
|
|
Loading…
Add table
Reference in a new issue