Directory structure

Short overview of the application directories and their purposes:

  • config/
    Contains all configuration files (i.e. database/email configuration)
  • data/
    • backups/
      Directory for database and file system backups, which should ideally be done before major version updates.
    • cache/
      May contain cache files which lead to faster program execution. Can be emptied without risk.
    • db/
      Contains the database definitions. Will be required if the automatic database setup fails and database tables must be created manually.
    • docs/
      Contains (mostly technical) documentation.
    • log/
      Contains error logs, if some occured. Otherwise (which is nice) empty.
    • mails/
      Contains (if configured) emails the system would have sent, as files.
    • res/
      Contains additional resources required for program execution (i.e. translations).
    • session/
      Contains the temporary PHP session files.
  • module/
    Contains the core modules of the system and thus the most important software files.
  • modulex/
    Contains custom or third party modules that can change or extend the functionality of the system.
  • public/
    The public directory is where the webserver should route all requests for your (sub)domain into.
    • css/
    • docs/
    • imgs/
    • js/
    • misc/
      CSS files, images and JavaScript files of the system. Should not be changed.
    • css-client/
    • docs-client/
    • imgs-client/
    • js-client/
    • misc-client/
      These directories are intended for custom files (like custom CSS definitions, logos, icons ...). Also, the system writes file uploads here.
  • src/
    Since version 1.8.0, this directory contains essential components of the Zend Framework 2, changed for PHP 8.1 compatibility.
  • vendor/
    Contains third party libraries the booking system depends on. Either comes bundled with the package or has to be installed via Composer.
Created by: Tobias Krebs
Updated: October 2022