Commit 0a5c4422 by Taylor Otwell

fixed vie errors.

parent d943f8b7
...@@ -11,7 +11,7 @@ return array( ...@@ -11,7 +11,7 @@ return array(
| |
*/ */
'url' => 'http://beta.laravel.com', 'url' => 'http://localhost/laravel/public',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
......
...@@ -43,10 +43,7 @@ class Module { ...@@ -43,10 +43,7 @@ class Module {
{ {
if (array_key_exists($module, static::$paths)) return static::$paths[$module]; if (array_key_exists($module, static::$paths)) return static::$paths[$module];
if (array_key_exists($module, static::$modules)) if (array_key_exists($module, static::$modules)) $path = MODULE_PATH.static::$modules[$module].'/';
{
$path = (strpos(static::$modules[$module], BASE_PATH) === 0) ? static::$modules[$module].'/' : MODULE_PATH.static::$modules[$module].'/';
}
return static::$paths[$module] = $path; return static::$paths[$module] = $path;
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
// The active modules for this Laravel installation. // The active modules for this Laravel installation.
// -------------------------------------------------------------- // --------------------------------------------------------------
$active = array( $active = array(
'application' => realpath('../application'), 'application' => 'application',
); );
// -------------------------------------------------------------- // --------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment