Skip to content

Commit

Permalink
New: Install wizard can activate a module during install process.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 7, 2011
1 parent bfa08af commit e327487
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -73,6 +73,7 @@ For developers:
- New: External modules can show export list with an "enabled" condition.
- New: Support a backtopage parameter on contact creation page
- New: Add id on div to show logo
- New: Install wizard can activate a module during install.
- New: Dictionnary setup works with very large external dictionnaries (Add
page navigation).

Expand Down
4 changes: 3 additions & 1 deletion htdocs/lib/admin.lib.php
@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2008-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -618,6 +618,7 @@ function Activate($value,$withdeps=1)
$file = $modName . ".class.php";

// Loop on each directory
$found=false;
foreach ($conf->file->dol_document_root as $dol_document_root)
{
$dir = $dol_document_root."/includes/modules/";
Expand Down Expand Up @@ -706,6 +707,7 @@ function UnActivate($value,$requiredby=1)
$file = $modName . ".class.php";

// Loop on each directory
$found=false;
foreach ($conf->file->dol_document_root as $dol_document_root)
{
$dir = $dol_document_root."/includes/modules/";
Expand Down

0 comments on commit e327487

Please sign in to comment.