Skip to content

Commit

Permalink
Fix paths to autoload.php file.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 6, 2013
1 parent 1ae30b0 commit 1a7c74a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions App/Config/bootstrap.php
Expand Up @@ -14,10 +14,10 @@
*/
namespace App\Config;

if (!file_exists(dirname(__DIR__) . 'vendor/autoload.php')) {
die('Could not find vendor/autoload.php. You need to install dependencies with composer first.');
if (!file_exists(dirname(__DIR__) . '/vendor/autoload.php')) {
die('Could not find vendor/autoload.php. You need to install dependencies with `php composer.phar install` first.');
}
require dirname(__DIR__) . 'vendor/autoload.php';
require dirname(__DIR__) . '/vendor/autoload.php';

/**
* Configure paths required to find CakePHP + general filepath
Expand Down Expand Up @@ -67,7 +67,7 @@
*/
// Configure::load('app.local.php', 'default');
} catch (\Exception $e) {
die('Unable to load Config/app.php ensure it exists.');
die('Unable to load Config/app.php. Create it by copying Config/app.php.default to Config/app.php.');
}

/**
Expand Down

0 comments on commit 1a7c74a

Please sign in to comment.