Re: change uploads directory

  •  11-22-2007, 1:13 PM

    Re: change uploads directory

    Adam,
     
    This method doesn't seem to always want to work.
     
    I actually removed this line:
     
    <security name="ImageGalleryPath">~/uploads</security>
     
    From all three files: Admin.config, Default.config, Guest.config
     
    my code looks like this (where cute is my cuteeditor object)
     
    Cute.Setting("security:ImageGalleryPath") = Replace(FullPathtoBaby(BID), "/", "\") & "babypics\"
    Cute.SetSecurityImageGalleryPath(Replace(FullPathtoBaby(BID), "/", "\") & "babypics\")
     
    I've been trying both of those commands, one or the other, all combinations. No luck
     
    that simply sets an absolute local path like  c:\folder\etc\
     
    it occasionally works but occasionally it reverts back to setting "uploads" as the default folder
     
    any help would be greatly appreciated - I have no clue what else to try
     
     
     
     
     
     
View Complete Thread