Skip to content
Snippets Groups Projects
Commit 1371af5f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Work on modulebuilder template

parent dd71fdc8
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,10 @@ $dircustom = $tmp[0];
if ($dircustom && $action == 'initmodule' && $modulename)
{
$srcfile = DOL_DOCUMENT_ROOT.'/modulebuilder/skeletons';
$srcfile = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$destfile = $dircustom.'/'.$modulename;
//$result = dolCopyDir($srcfile, $destfile, 0, 0);
dol_mkdir($destfile);
$result = dolCopyDir($srcfile, $destfile, 0, 0);
//dol_mkdir($destfile);
fopen($destfile, $mode)
......
File to flag module build using official module template.
When this file is present into a module directory, you can edit it with the module builder tool.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment