Difference between revisions of "Extensions usage"

From Apibot
Jump to: navigation, search
(some start)
 
(+ see also section)
 
Line 4: Line 4:
  
 
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 <code>/extensions</code> path a file named <code>extensions.php</code>. 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.
 
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 <code>/extensions</code> path a file named <code>extensions.php</code>. 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 ==
 +
 +
* [[Extensions writing]]
 +
* [[Main Page]]

Latest revision as of 01:57, 29 July 2014

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