fixed vie errors.

This commit is contained in:
Taylor Otwell
2011-08-18 22:00:59 -05:00
parent d943f8b749
commit 0a5c442295
14 changed files with 3 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ return array(
|
*/
'url' => 'http://beta.laravel.com',
'url' => 'http://localhost/laravel/public',
/*
|--------------------------------------------------------------------------

View File

@@ -43,10 +43,7 @@ class Module {
{
if (array_key_exists($module, static::$paths)) return static::$paths[$module];
if (array_key_exists($module, static::$modules))
{
$path = (strpos(static::$modules[$module], BASE_PATH) === 0) ? static::$modules[$module].'/' : MODULE_PATH.static::$modules[$module].'/';
}
if (array_key_exists($module, static::$modules)) $path = MODULE_PATH.static::$modules[$module].'/';
return static::$paths[$module] = $path;
}

View File

@@ -12,7 +12,7 @@
// The active modules for this Laravel installation.
// --------------------------------------------------------------
$active = array(
'application' => realpath('../application'),
'application' => 'application',
);
// --------------------------------------------------------------