• Leigh Stoller's avatar
    Okay, tricky change; ignore the path that comes into newimageid_ez; the · 4ed3d431
    Leigh Stoller authored
    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.
    4ed3d431
newimageid_ez.in 25.1 KB