5 lines
427 B
Bash
5 lines
427 B
Bash
#!bin/nash
|
|
qshell qupload upload.conf
|
|
mysql -uroot -pQax318130843#$. -e "use note;update app_doc_doc set pre_content=REPLACE(pre_content,'(/media/','(http://cdn.imbed.liuyan.wang/note/media/') where pre_content like '%(/media/%';"
|
|
mysql -uroot -pQaz318130843#$. -e "use note;update app_doc_doc set content=REPLACE(content,'src=\"/media/','src=\"http://cdn.imbed.liuyan.wang/note/media/') where content like '%src=\"/media/%';"
|