Skip to content

Commit

Permalink
FIxed tester/functions createApp()
Browse files Browse the repository at this point in the history
  • Loading branch information
bacinsky committed Jan 10, 2017
1 parent 1fba154 commit 2a4a2c9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions inc/tester/functions.php
Expand Up @@ -23,14 +23,12 @@ function createTestCase()
*/
function createApp() {

// WebinoBase module support
// Webino support
if (class_exists(BaseModulePath::class)) {
/** @noinspection PhpIncludeInspection */
require (new BaseModulePath) . '/inc/app.php';
return require (new BaseModulePath) . '/inc/app.php';
}

// common initialization
/** @noinspection PhpIncludeInspection */
// Zend initialization
return Application::init(require 'config/application.config.php');
}

Expand Down

0 comments on commit 2a4a2c9

Please sign in to comment.