mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 05:26:00 +03:00
[PR #385] [MERGED] add WEB_ROOT constant to allow theme and static asset files loaded fr… #802
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#802
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/385
Author: @kroky
Created: 4/10/2020
Status: ✅ Merged
Merged: 4/16/2020
Merged by: @jasonmunro
Base:
master← Head:feature/webroot📝 Commits (1)
c54d8c7add WEB_ROOT constant to allow theme and static asset files loaded from a different web root URL📊 Changes
11 files changed (+19 additions, -10 deletions)
View changed files
📝
index.php(+1 -0)📝
modules/api_login/api.php(+2 -0)📝
modules/pgp/modules.php(+3 -3)📝
modules/smtp/modules.php(+6 -6)📝
modules/themes/modules.php(+1 -1)📝
scripts/config_gen.php(+1 -0)📝
scripts/create_account.php(+1 -0)📝
scripts/create_config.php(+1 -0)📝
scripts/delete_account.php(+1 -0)📝
scripts/update_password.php(+1 -0)📝
tests/phpunit/bootstrap.php(+1 -0)📄 Description
…om a different web root URL
Hey Jason,
Just realized that static assets from smtp module were not properly integrated into Tiki as we serve cypht from a different URL than the site/ one you assume as the default URL. I had to add an empty WEB_ROOT constant and prepend all those and