Commit
97e4a2115d1d7468fc5ebcae7f937f38ab281de8
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
Removing symlink to default theme
It will be created on startup if needed. This way we allow the local
site administrator to set a different default theme.
(ActionItem1279)
|
| @@ -0,0 +1,5 @@ |
| @@ -0,0 +1,5 @@ |
|
| |
1
| +# create the symlink to the default theme if it does not exist |
|
| |
2
| +default = File.join(RAILS_ROOT, 'public', 'designs', 'themes', 'default') |
|
| |
3
| +if !File.exists?(default) |
|
| |
4
| + File.symlink('noosfero', default) |
|
| |
5
| +end |
|
| @@ -1 +0,0 @@ |
| @@ -1 +0,0 @@ |
|
1
| -noosfero |
| |
|
2
| \ No newline at end of file |
0
| \ No newline at end of file |