dolibarr 20.0.0
|
Migrate pictures from old system prior to 3.7 to new path for 3.7+. More...
Go to the source code of this file.
Functions | |
migrate_product_photospath ($product) | |
Migrate file from old path to new one for product $product. | |
Migrate pictures from old system prior to 3.7 to new path for 3.7+.
Definition in file migrate_picture_path.php.
migrate_product_photospath | ( | $product | ) |
Migrate file from old path to new one for product $product.
Product | $product | Object product |
Definition at line 104 of file migrate_picture_path.php.
References dol_is_dir(), dol_is_file(), dol_mkdir(), dol_move(), dol_osencode(), dol_sanitizeFileName(), and get_exdir().