<?php
/**
* @package ActiveCollab.tasks
*/
if (php_sapi_name() != 'cli') {
die("Error: CLI only\n");
}
if (DIRECTORY_SEPARATOR == '\\') {
define('PUBLIC_PATH', str_replace('\\', '/', dirname(dirname(__DIR__)) . '/public'));
} else {
define('PUBLIC_PATH', dirname(dirname(__DIR__)) . '/public');
}
// Load configuration and initialize framework
require_once dirname(PUBLIC_PATH) . '/config/config.php';
require_once ANGIE_PATH . '/init.php';;