Fix missing substitution
Missing substitution for object
This commit is contained in:
parent
ee83b9a7b2
commit
fc7b88e5e6
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -398,7 +399,8 @@ if ($dirins && $action == 'initobject' && $module && $objectname)
|
|||||||
'Mon module'=>$module,
|
'Mon module'=>$module,
|
||||||
'htdocs/modulebuilder/template/'=>strtolower($modulename),
|
'htdocs/modulebuilder/template/'=>strtolower($modulename),
|
||||||
'myobject'=>strtolower($objectname),
|
'myobject'=>strtolower($objectname),
|
||||||
'MyObject'=>$objectname
|
'MyObject'=>$objectname,
|
||||||
|
'MYOBJECT'=>strtoupper($objectname)
|
||||||
);
|
);
|
||||||
|
|
||||||
$result=dolReplaceInFile($phpfileval['fullname'], $arrayreplacement);
|
$result=dolReplaceInFile($phpfileval['fullname'], $arrayreplacement);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user