script.php 259 Bytes
Newer Older
sreg's avatar
sreg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php
	if(count($argv)>1)
	{
		$dir=getcwd();
		chdir(pathinfo(__FILE__)['dirname']);
		require_once('../../sys/quark/quark.php');
		require_once('../../config/config.php');

		$quark=new Quark();
		chdir($dir);

		$quark->executeScript($argv[1],$argv);
	}
?>