Merge remote-tracking branch 'calcms/master'
295faealib/calcms/startup.pl: get include path from startup.pl directorybd869a5install/migrate.sql: remove paths from image entriesb01dd91fixup! audio-recordings.cgi: set permissions to update event220f9c9apache2-sites/calcms.conf: add /images976355efixup! create.sql, migrate.sql: limit username length to 100
This commit is contained in:
@@ -25,6 +25,9 @@ Alias /agenda ${web_dir}/agenda
|
||||
# image base
|
||||
Alias /media ${web_dir}/media
|
||||
|
||||
# icons
|
||||
Alias /images ${base_dir}/media/images
|
||||
|
||||
# thumbs
|
||||
Alias /thumbs ${web_dir}/media/thumbs
|
||||
|
||||
|
||||
@@ -1813,3 +1813,6 @@ CHANGE COLUMN `modified_by` `modified_by` VARCHAR(100) NULL DEFAULT NULL ;
|
||||
ALTER TABLE `calcms`.`calcms_comments`
|
||||
CHANGE COLUMN `author` `author` VARCHAR(100) NULL DEFAULT NULL ,
|
||||
CHANGE COLUMN `email` `email` VARCHAR(100) NULL DEFAULT NULL ;
|
||||
|
||||
ALTER TABLE `calcms`.`calcms_user_selected_events`
|
||||
CHANGE COLUMN `user` `user` VARCHAR(100) NOT NULL ;
|
||||
|
||||
@@ -340,3 +340,16 @@ CHANGE COLUMN `modified_by` `modified_by` VARCHAR(100) NULL DEFAULT NULL ;
|
||||
ALTER TABLE `calcms`.`calcms_comments`
|
||||
CHANGE COLUMN `author` `author` VARCHAR(100) NULL DEFAULT NULL ,
|
||||
CHANGE COLUMN `email` `email` VARCHAR(100) NULL DEFAULT NULL ;
|
||||
|
||||
ALTER TABLE `calcms`.`calcms_user_selected_events`
|
||||
CHANGE COLUMN `user` `user` VARCHAR(100) NOT NULL ;
|
||||
|
||||
-- remove dirs from images
|
||||
update calcms_events set image = replace(image , '/agenda_files/media/images/', '') where image like '%/agenda_files/media/images/%';
|
||||
update calcms_events set image = replace(image , '/agenda_files/media/icons/', '') where image like '%/agenda_files/media/icons/%';
|
||||
update calcms_events set image = replace(image , '/agenda_files/media/thumbs/', '') where image like '%/agenda_files/media/thumbs/%';
|
||||
|
||||
update calcms_series set image = replace(image , '/agenda_files/media/images/', '') where image like '%/agenda_files/media/images/%';
|
||||
update calcms_series set image = replace(image , '/agenda_files/media/icons/', '') where image like '%/agenda_files/media/icons/%';
|
||||
update calcms_series set image = replace(image , '/agenda_files/media/thumbs/', '') where image like '%/agenda_files/media/thumbs/%';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user