Okay, tricky change; ignore the path that comes into newimageid_ez; the
code to construct a path is duplicated is 5 different places and they have gone out of sync. We have not allowed users to set the path for years, but we were still constructing a path in php code and passing it along. Throw them all away and construct the path the way we want it. Apply same rules to admins; admins don't know what they are doing either. I know, I'm an admin. But if the admin sets the path to start with /usr/testbed/images, throw that away, and construct proper path in /usr/testbed/images.
Showing with 51 additions and 35 deletions