Structure
This is the simplified document tree of the PHP backend:
dist/
doc/
src/
commands/
config/
install/
lib/
Contents of the root directory
directory |
description |
dist/ |
Contains packages created by “make archive”. |
doc/ |
Path where API documentation will be created later. |
src/ |
Sourcecode of PHP backend |
Contents of src/ directory
directory/file |
description |
commands/ |
Contains command files where the logic is located - see How to write a command |
config/ |
Includes the config file named local.php where all config options should be set |
install/ |
Configuration script for an initial setup. |
lib/ |
Contains the backends core library (SmartWFM), external tools (FirePHP, geshi, JSON) and libraries for some commands (AFS, archives, search) |