Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Adding static content to page #25

Open
mingalsuo opened this issue Oct 11, 2014 · 1 comment
Open

Q: Adding static content to page #25

mingalsuo opened this issue Oct 11, 2014 · 1 comment

Comments

@mingalsuo
Copy link

Hi!

I have two phpsqlitecms-sites on the same host and would like to serve static content shared by these two sites, embedded in a page on each site.

Is there a way to do this with the current revision, without compromising security and without changes to the source code? I'd keep the static content in some other place while symlinking the content to inside the webroot of each site.

Thanks!

@sim2github
Copy link
Contributor

You can change:

define('MEDIA_DIR', 'static/media/');

for your purposes in definition.conf.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants