Avoid array index and change code format
Replace CACHE_DIR to Config::CACHE_DIR