Switched REDIS constant to $redis global var