Is it possible to change the UPDATES folder path?

Permalink
I just converted an existing site to C5. The client uses a folder named UPDATES already, so their customers can download software patches via FTP. I would like to change the folder that C5 uses to download updates. Is this possible?

Thanks!

Joe

jmcgarvey
 
hereNT replied on at Permalink Best Answer Reply
hereNT
It looks like this is defined in base_pre.php, "DIRNAME_UPDATES" - you should be able to put this in your site.php:

define('DIRNAME_UPDATES', 'c5updates');


Then make a new folder called c5updates and you're good to go. I haven't tested it but this should work for you. I'm not sure how to test it except maybe making a dummy install with an old version of c5 then run the update script.
jmcgarvey replied on at Permalink Reply
jmcgarvey
Perfect. Thank you!