Permalink
Browse files

temporary change

  • Loading branch information...
1 parent 6c4c941 commit d2be5beb250082dd41ec8a25f800dbedd290a8e2 @shaunlee committed Sep 22, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 ajoy/ajoy.php
View
@@ -1348,12 +1348,12 @@ public function loadModules()
array_map(function($module) {
$modfile = '/modules/' . $module . '.php';
- $filename = $this->get('app root') . $modfile;
+ $filename = app()->get('app root') . $modfile;
if (!file_exists($filename)) {
- $filename = $this->get('ajoy root') . $modfile;
+ $filename = app()->get('ajoy root') . $modfile;
if (!file_exists($filename))
- $this->raise('Module with name "' . $module . '" does not exists.');
+ app()->raise('Module with name "' . $module . '" does not exists.');
}
include $filename;

0 comments on commit d2be5be

Please sign in to comment.