|
@@ -4128,8 +4128,7 @@ function yn($yesno, $case=1, $color=0)
|
|
|
/**
|
|
|
* Return a path to have a directory according to object.
|
|
|
* New usage: $conf->product->multidir_output[$object->entity].'/'.get_exdir(0, 0, 0, 1, $object, 'modulepart')
|
|
|
- * Old usage: '001' with level 3->"0/0/1/", '015' with level 3->"0/1/5/"
|
|
|
- * Old usage: 'ABC-1' with level 3 ->"0/0/1/", '015' with level 1->"5/"
|
|
|
+ * Old usage: '015' with level 3->"0/1/5/", '015' with level 1->"5/", 'ABC-1' with level 3 ->"0/0/1/"
|
|
|
*
|
|
|
* @param string $num Id of object (deprecated, $object will be used in future)
|
|
|
* @param int $level Level of subdirs to return (1, 2 or 3 levels). (deprecated, global option will be used in future)
|