mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
NEW Remove hardcoded code for OVH sms. Generic method is ok now.
This commit is contained in:
@@ -374,11 +374,9 @@ class Conf
|
||||
$newvalue = '/'.$modulename.'/core/'.$partname.'/';
|
||||
} elseif (in_array($partname, array('models', 'theme'))) {
|
||||
$newvalue = '/'.$modulename.'/';
|
||||
} elseif (in_array($partname, array('sms'))) {
|
||||
$newvalue = '/'.$modulename.'/';
|
||||
} elseif ($value == 1) {
|
||||
$newvalue = '/'.$modulename.'/core/modules/'.$partname.'/'; // ex: partname = societe
|
||||
} else {
|
||||
} else { // $partname can be any other value like 'sms', ...
|
||||
$newvalue = $value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user