Extensions usage

From Apibot
Revision as of 01:57, 29 July 2014 by Grigor Gatchev (talk | contribs) (+ see also section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installing extensions

In the Apibot file tree there is a path called /extensions. The individual extensions should be copied there, each extension in a subpath of its own. If the extension subpath contains a file named after it (letter case matters), with extension ".php", it will be automatically included on Apibot start.

The extensions subpaths are scanned in an alphabetic order, case-sensitive. If you want them to be included in a different order, create in the /extensions path a file named extensions.php. Include in it the extensions you need, in the order you like. If such a file exists, extensions subpaths will not be scanned, as this file is expected to include everything needed.

See also