Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@NoNameCode In this specific instance the previous dev set a variable in PHP with a full URL (http://www.domain.com/blah), so it breaks upon moving to another domain. Easily made dynamic, it was a lazy move 🙄
-
lotd77759yi wrote a script for recursively backing up files, searching and replacing strings in those, filtering by path, extension..
then use something like git diff, colordiff just quickly glancing over before testing.. with a test suite, local copy or even a quick disposable server.. for instance a python module.. :p
IF YOU HARD CODE URLS INTO YOUR CODE I WILL HARD CODE MY FIST INTO YOUR FACE
undefined
deep breaths