Skip to content

Commit

Permalink
Fixing errors home.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Nov 5, 2012
1 parent 711eae9 commit 3b0be34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion App/View/Pages/home.ctp
Expand Up @@ -97,7 +97,7 @@ endif;
<p>
<?php
$filePresent = null;
if (file_exists(APP . 'Config/datasouces.php')):
if (file_exists(APP . 'Config/datasources.php')):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your datasources configuration file is present.');
$filePresent = true;
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Templates/skel/View/Pages/home.ctp
Expand Up @@ -97,7 +97,7 @@ endif;
<p>
<?php
$filePresent = null;
if (file_exists(APP . 'Config/datasouces.php')):
if (file_exists(APP . 'Config/datasources.php')):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your datasources configuration file is present.');
$filePresent = true;
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Utility/Debugger.php
Expand Up @@ -831,11 +831,11 @@ public static function getType($var) {
*/
public static function checkSecurityKeys() {
if (Configure::read('Security.salt') == 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi') {
trigger_error(__d('cake_dev', 'Please change the value of \'Security.salt\' in app/Config/core.php to a salt value specific to your application'), E_USER_NOTICE);
trigger_error(__d('cake_dev', 'Please change the value of \'Security.salt\' in app/Config/app.php to a salt value specific to your application'), E_USER_NOTICE);
}

if (Configure::read('Security.cipherSeed') === '76859309657453542496749683645') {
trigger_error(__d('cake_dev', 'Please change the value of \'Security.cipherSeed\' in app/Config/core.php to a numeric (digits only) seed value specific to your application'), E_USER_NOTICE);
trigger_error(__d('cake_dev', 'Please change the value of \'Security.cipherSeed\' in app/Config/app.php to a numeric (digits only) seed value specific to your application'), E_USER_NOTICE);
}
}

Expand Down

0 comments on commit 3b0be34

Please sign in to comment.