Fixing problem with skel generation in project task

This commit is contained in:
Jose Lorenzo Rodriguez 2011-04-19 12:14:02 -04:30
parent 63275626ee
commit 254225372a

View file

@ -201,7 +201,7 @@ class ProjectTask extends Shell {
*/
public function createHome($dir) {
$app = basename($dir);
$path = $dir . 'views' . DS . 'pages' . DS;
$path = $dir . 'View' . DS . 'pages' . DS;
$source = LIBS . 'Console' . DS . 'templates' . DS .'default' . DS . 'views' . DS . 'home.ctp';
include($source);
return $this->createFile($path.'home.ctp', $output);