Skip to content

Commit b90577a

Browse files
committed
Fix some warnings
1 parent 750e6d2 commit b90577a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/devapi/extra.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Extra
44
The extra ``config/local_define.php`` file will be loaded if present. It permit you to change some GLPI framework configurations.
55

66
Change loging level
7-
^^^^^^^^^^^^^^^^^^^
7+
^^^^^^^^^^^^^^^^^^^^
88

99
Logging level is declared with the ``GLPI_LOG_LVL`` constant; and rely on `available Monolog levels <https://github.com/Seldaek/monolog/blob/master/doc/01-usage.md#log-levels>`_. The default log level will change if debug mode is enabled on GUI or not. To change logging level to ``ERROR``, add the following to your ``local_define.php`` file:
1010

source/plugins/objects.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Define an object
88

99
Objects definitions will be stored into the ``inc/`` directory of your plugin. File name will be the name of your class, lowercased; the class name will be the concatenation of your plugin name and your class name.
1010

11+
1112
For example, if you want to create the ``MyObject`` in ``MyExamplePlugin``; you will create the ``inc/myobject.class.php`` file; and the class name will be ``MyExamplePluginMyObject``.
1213

1314
Your object will extends one of the :doc:`common core types <../devapi/mainobjects>` (``CommonDBTM`` in our example).

0 commit comments

Comments
 (0)