Skip to content

Commit

Permalink
Revert auto scripts changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fracz committed Sep 22, 2017
1 parent 40e1e48 commit 7649453
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/symfony_requirements
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

require_once dirname(__FILE__).'/./SymfonyRequirements.php';
require_once dirname(__FILE__).'/../var/SymfonyRequirements.php';

$lineSize = 70;
$symfonyRequirements = new SymfonyRequirements();
Expand Down
4 changes: 2 additions & 2 deletions web/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

if (!isset($_SERVER['HTTP_HOST'])) {
exit('This script cannot be run from the CLI. Run it from a browser.');
exit("This script cannot be run from the CLI. Run it from a browser.\n");
}

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
Expand All @@ -22,7 +22,7 @@
exit('This script is only accessible from localhost.');
}

require_once dirname(__FILE__).'/./SymfonyRequirements.php';
require_once dirname(__FILE__).'/../var/SymfonyRequirements.php';

$symfonyRequirements = new SymfonyRequirements();

Expand Down

0 comments on commit 7649453

Please sign in to comment.