Added DB Access + Error page
This commit is contained in:
14
demos/hangman/protected/config/main.php
Normal file
14
demos/hangman/protected/config/main.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'name'=>'Hangman Game',
|
||||
'defaultController'=>'game',
|
||||
'components'=>array(
|
||||
'urlManager'=>array(
|
||||
'urlFormat'=>'path',
|
||||
'rules'=>array(
|
||||
'game/guess/<g:\w>'=>'game/guess',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user