Skip to content

Commit

Permalink
Added ability to run pages from command line
Browse files Browse the repository at this point in the history
  • Loading branch information
AliasIO committed Apr 14, 2013
1 parent 156ea9f commit eaf16fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
namespace Swiftlet;

try {
chdir(dirname(__FILE__));

// Bootstrap the application
require 'Swiftlet/Interfaces/App.php';
require 'Swiftlet/App.php';
Expand Down

0 comments on commit eaf16fa

Please sign in to comment.