Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6443c62

Browse files
committedApr 2, 2013
Fix #15704: Wrong description of writing custom_functions
1 parent 03b5f34 commit 6443c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docbook/administration_guide/en/customizing_mantis.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -867,15 +867,15 @@ $g_status_enum_workflow[CLOSED] ='20:feedback,50:assigned';
867867
<para>User versions of these functions (overrides) are named like
868868
<emphasis>custom_function_override_descriptive_name</emphasis>,
869869
and placed in a file called
870-
<filename>custom_constants_inc.php</filename> that must be saved in
870+
<filename>custom_functions_inc.php</filename> that must be saved in
871871
MantisBT's root directory (This is the same place where the
872872
<filename>config_inc.php</filename> file resides).
873873
In normal processing, the system will look for override functions
874874
and execute them instead of the provided default functions.
875875
</para>
876876
<para>The simplest way to create a custom function is to copy the
877877
default one from the api to your override file
878-
(<filename>custom_constants_inc.php</filename>), and rename it
878+
(<filename>custom_functions_inc.php</filename>), and rename it
879879
(i.e. replacing 'default' by 'override').
880880
The specific functionality you need can then be coded into the
881881
override function.

0 commit comments

Comments
 (0)
Please sign in to comment.