define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . "/"); define('STATE_DIR', '/var/lib/sogosync/'); ini_set('include_path', BASE_PATH. "include/" . PATH_SEPARATOR . BASE_PATH. PATH_SEPARATOR . ini_get('include_path') . PATH_SEPARATOR . "/usr/share/php/" . PATH_SEPARATOR . "/usr/share/php5/" . PATH_SEPARATOR . "/usr/share/pear/" . PATH_SEPARATOR . "/usr/share/awl/inc");