Commits

Anonymous committed 9ccb5fb Draft

backport from trunk (rev #9095 )

fixed documentation
Thanks to James Gledhill for reporting

  • Participants
  • Parent commits 0f140da
  • Branches 1.8

Comments (0)

Files changed (2)

modules/lua/README

 
         1.5. Exported Parameters
 
-              1.5.1. filename (string)
+              1.5.1. luafilename (string)
               1.5.2. lua_auto_reload (int)
               1.5.3. warn_missing_free_fixup (int)
               1.5.4. lua_allocator (string)
 
    List of Examples
 
-   1.1. Set filename parameter
+   1.1. Set luafilename parameter
    1.2. lua_exec() usage
 
 Chapter 1. Admin Guide
 
 1.5. Exported Parameters
 
-1.5.1. filename (string)
+1.5.1. luafilename (string)
 
    This is the file name of your script. This may be set once
    only, but it may include an arbitary number of functions and
 
    The default value is "/etc/opensips/opensips.lua"
 
-   Example 1.1. Set filename parameter
+   Example 1.1. Set luafilename parameter
 ...
-modparam("lua", "filename", "/etc/opensips/opensips.lua")
+modparam("lua", "luafilename", "/etc/opensips/opensips.lua")
 ...
 
 1.5.2. lua_auto_reload (int)

modules/lua/doc/lua_admin.xml

   <section>
     <title>Exported Parameters</title>
     <section>
-      <title>filename (string)</title>
+      <title>luafilename (string)</title>
       <para> 
       This is the file name of your script. This may be set once
       only, but it may include an arbitary number of functions and
       The default value is "/etc/opensips/opensips.lua"
       </para>
       <example>
-        <title>Set filename parameter</title>
+        <title>Set luafilename parameter</title>
         <programlisting format="linespecific">
 ...
-modparam("lua", "filename", "/etc/opensips/opensips.lua")
+modparam("lua", "luafilename", "/etc/opensips/opensips.lua")
 ...
         </programlisting>
       </example>