fatal: Not a git repository” when adding a Git repo
Using command line, go to the directory you what to add git repo then run the code below: git init
Using command line, go to the directory you what to add git repo then run the code below: git init
Add the following code in your AppController: var $components = array(‘Session’);
1. Under View > Pages create hello.ctp 2. Under Config folder open routes.php and add the following code: Router::connect(‘/hello’, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘hello’)); 3. Now open your static page via: http://yourdomain/hello