Diogo Cordeiro 1049080df5 [CORE] Move public resources to a /public directory
Advantages:
* Increases security by preventing direct access to file/
* We are careful and have a defined('GNUSOCIAL') || die() to prevent
  direct access to GS files, but we may miss one or a vendor/extlib may
  not be as careful
* Improves directory structure - It's more natural to physically
  separate what is public from what are GNU social resources
2019-08-03 17:47:25 +01:00
..
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2016-02-08 17:48:37 +00:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2016-02-08 17:48:37 +00:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00
2019-06-09 16:10:03 +01:00

Several example plugins are included in the plugins/ directory. You can enable a plugin with the following line in config.php:

    addPlugin('Example', array('param1' => 'value1',
                               'param2' => 'value2'));

This will look for and load files named 'ExamplePlugin.php' or 'Example/ExamplePlugin.php' either in the plugins/ directory (for plugins that ship with StatusNet) or in the local/ directory (for plugins you write yourself or that you get from somewhere else) or local/plugins/.

Plugins are documented in their own directories.

Additional information on using and developing plugins can be found at the following locations: