Forums / Install & configuration / Renaming a site after images are uploaded
Baard Johansen
Wednesday 15 June 2005 3:16:47 am
I started creating a site with the "plain" template, and therefore have images stored under /var/plain.
I now need to rename my var-folder from /var/plain to something else. As I understand, the name of this folder is stored in the database for all the uploaded images.
I have searched the forum for a tips on how to replace this name in the database with no luck. Does anyone know how to rename this folder after images are uploaded?
I'm using ezPublish 3.6.0.
-- Baard H. Johansen
Vjeran Vlahovic
Wednesday 15 June 2005 3:33:53 pm
You could make sql dump of your MySQL database, then open it in Your favorite editor and use find/replace to change old path with the new one. After that restore the database with the new .sql file. Don't forget to change VarDir option in site.ini.append.php .
http://www.netgen.hr/eng