define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . "/"); define('STATE_DIR', '/var/lib/sogosync');