Browse files

Fixing path to home page template.

  • Loading branch information...
1 parent 888d359 commit b8d3aae474368cf96d3a50301d20c16aa456e6d4 @markstory markstory committed Sep 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/project.php
View
2 cake/console/libs/tasks/project.php
@@ -184,7 +184,7 @@ function bake($path, $skel = null, $skip = array('empty')) {
function createHome($dir) {
$app = basename($dir);
$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);
return $this->createFile($path.'home.ctp', $output);
}

0 comments on commit b8d3aae

Please sign in to comment.