diff --git a/htdocs/includes/evalmath/evalmath.class.php b/htdocs/core/class/evalmath.class.php similarity index 100% rename from htdocs/includes/evalmath/evalmath.class.php rename to htdocs/core/class/evalmath.class.php diff --git a/htdocs/includes/evalmath/README.md b/htdocs/includes/evalmath/README.md deleted file mode 100755 index 6011e3fb676..00000000000 --- a/htdocs/includes/evalmath/README.md +++ /dev/null @@ -1,11 +0,0 @@ -evalmath.class.php -================== - -Version 1.0 - -Taken from http://www.phpclasses.org/browse/file/11680.html, cred to Miles Kaufmann - -This repository is cloned for two reasons: - -1. To allow downloading the code without signing in to phpclasses.org. -2. To add very small improvements to the code. diff --git a/htdocs/product/dynamic_price/class/price_parser.class.php b/htdocs/product/dynamic_price/class/price_parser.class.php index d0eae2f3b17..6659dc56054 100644 --- a/htdocs/product/dynamic_price/class/price_parser.class.php +++ b/htdocs/product/dynamic_price/class/price_parser.class.php @@ -20,7 +20,7 @@ * \ingroup product * \brief File of class to calculate prices using expression */ -require_once DOL_DOCUMENT_ROOT.'/includes/evalmath/evalmath.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/evalmath.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_expression.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_global_variable.class.php';