Browse Source

clean up start file.

Taylor Otwell 11 years ago
parent
commit
59d6d74a23
1 changed files with 1 additions and 7 deletions
  1. 1 7
      bootstrap/start.php

+ 1 - 7
bootstrap/start.php

@@ -41,13 +41,7 @@ $env = $app->detectEnvironment(array(
 |
 |
 */
 */
 
 
-$paths = require __DIR__.'/paths.php';
-
-$app->instance('path', $appPath = $paths['app']);
-
-$app->instance('path.base', $paths['base']);
-
-$app->instance('path.public', $paths['public']);
+$app->bindInstallPaths(require __DIR__.'/paths.php');
 
 
 /*
 /*
 |--------------------------------------------------------------------------
 |--------------------------------------------------------------------------