gearman-go/example/exec-worker/script/default.php

9 lines
187 B
PHP
Raw Normal View History

2012-11-22 17:15:20 +08:00
<?php
define('ISCLI', PHP_SAPI === 'cli');
if (!ISCLI) {
die("cli only!");
}
define("ROOT", dirname(__FILE__));
define("LIB", ROOT . "/../lib/");
include_once(LIB . "bootstrap.php");