Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from ajaxboy/master

allow php exe to execute spark commands from any directory
  • Loading branch information...
commit daad308d88d2a88245ae77e328724bed428dae37 2 parents b75b412 + c0c54c4
@seejohnrun authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 spark
View
4 spark
@@ -1,6 +1,10 @@
#!/usr/bin/env php
<?php
+// main working directory
+define ( 'SPARK_DIR', dirname (__FILE__) );
+@chdir(SPARK_DIR);
+
require_once 'lib/spark/spark_source.php';
require_once 'lib/spark/spark_cli.php';
Please sign in to comment.
Something went wrong with that request. Please try again.