23

Ffs can you not

Comments
  • 4
    I feel like the front-end guy could make a better job...
  • 2
  • 2
    @olback this isn't the worst of it
  • 2
    This is part of a bespoke CMS, built by a guy who was learning PHP at the time of writing it - it was better than the last bespoke CMS so it took over as the company standard for a few years.

    They always made new sites by copy/pasting an existing one and changing the config. As a result there is no consistancy. Some sites using it have a 40 step setup process. There are functions in there that are 1000s of lines long, a lot of repeated code, a lot of secuirty issues, a lot SQL errors (eg. '' is not a valid int). It switches environment from dev to prod based on the users IP. And you can't refactor it, even if you do there are 100s of the bloody things so you'd just see the same shit all over again on the next project you open.

    It's painful.
  • 0
    Burn them with sacred front-end switch-case string-repeating fire
Add Comment