fixed vie errors.
This commit is contained in:
parent
d943f8b749
commit
0a5c442295
|
@ -11,7 +11,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'url' => 'http://beta.laravel.com',
|
'url' => 'http://localhost/laravel/public',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -43,10 +43,7 @@ public static function path($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 @@
|
||||||
// The active modules for this Laravel installation.
|
// The active modules for this Laravel installation.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
$active = array(
|
$active = array(
|
||||||
'application' => realpath('../application'),
|
'application' => 'application',
|
||||||
);
|
);
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue