Skip to content

Commit

Permalink
Fixing path to home page template.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 6, 2009
1 parent 888d359 commit b8d3aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/project.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function bake($path, $skel = null, $skip = array('empty')) {
function createHome($dir) { function createHome($dir) {
$app = basename($dir); $app = basename($dir);
$path = $dir . 'views' . DS . 'pages' . DS; $path = $dir . 'views' . DS . 'pages' . DS;
$source = CAKE_CORE_INCLUDE_PATH . DS . 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);
} }
Expand Down

0 comments on commit b8d3aae

Please sign in to comment.