Since I will be using Redis from multiple files, the connection to the server should be in the same file as the other DB connection.
This icon looks a little bit better I think.
I was wondering why my script had suddenly stopped working and thought it was
a Redis problem.
Turns out that I was getting PHP parse errors and didn't check the logs
This is very basic where I check the Regis table to see if a short link exists
If not, query the mysql server and pull that result into Regis as linkID and link
I might make some modifications to this
As stated in the comments, I don't feel like rewriting the code to generate
the links, so I'm leaving it as is right now. I will work on it at a later
time