Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

Do not use this mechanism for accessing the Registry database. Only present public, generally static information, otherwise you risk compromising Registry security and exposing restricted information.

If you need to work with Registry content, you most likely need to write a Registry Plugin.

Publishing Images and Other Media

Images or any other static content may be served from the /local directory much as described above.  Follow these steps:

  1. Create a directory in which to store your media in /local/webroot/, for example /local/webroot/media.
  2. Create a symlink to the directory within /app/webroot to allow the webserver to serve these files

    Code Block
    languagebash
    titleAdd Symlink from within /app/webroot
    cd app/webroot
    ln -s ../../../local/webroot/media


  3. Ensure that /local/webroot/media is owned by the web server user (e.g. apache)