fixed the "open_basedir restriction in effect" error caused by WC_LOG_DIR