Skip to content

Commit 4998121

Browse files
committed
Updates and fixes
1 parent 363865f commit 4998121

File tree

7 files changed

+93
-126
lines changed

7 files changed

+93
-126
lines changed

application/modules/admin/controllers/SetupController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function writeAction()
117117
$adapter = Zend_Db::factory($strAdapter, $arrParams);
118118
$adapter->getConnection()->exec($schemaSql);
119119
} catch (Exception $e) {
120-
echo 'Error writing DB. Please refresh and try again.';
120+
echo 'Error writing DB: '.$e->getMessage().' Please refresh and try again.';
121121
exit();
122122
}
123123

application/modules/cli/controllers/ErrorController.php renamed to application/modules/cli/controllers/ClierrorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @version git
2323
* @link https://github.com/dandart/projectchaplin
2424
**/
25-
class ErrorController extends Zend_Controller_Action
25+
class ClierrorController extends Zend_Controller_Action
2626
{
2727
public function preDispatch()
2828
{

application/modules/default/views/layouts/_header.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if(Chaplin_Auth::getInstance()->hasIdentity()) :
2727
$modelUser = Chaplin_Auth::getInstance()->getIdentity()->getUser();
2828
$bIsLoggedIn = true;
2929
endif;
30-
?>#
30+
?>
3131

3232
<div class="wrap">
3333
<a href="/"><div class="logo">

cli/cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
$error = $front->getPlugin('Zend_Controller_Plugin_ErrorHandler');
7373
$error->setErrorHandler(
7474
array(
75-
'controller' => 'error',
75+
'controller' => 'clierror',
7676
'action' => 'error'
7777
)
7878
);

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"robmorgan/phinx": "dev-master"
3939
},
4040
"require-dev": {
41-
"mockery/mockery": "dev-master",
42-
"hamcrest/hamcrest-php": "dev-master"
41+
"mockery/mockery": "dev-master"
4342
},
4443
"autoload": {
4544
"classmap": [

0 commit comments

Comments
 (0)