After installing SUPEE-8788 on Magento 1.8, a file is created in app/code/local/Mage/Core/functions.php. Why Mage file is here instead of app/code/core ?

1 Answer 1


This is your custom file. Patch changes only app/code/core/Mage/Core/function.php file. You could leave your local function file in case you have PHP >= 5.6 otherwise copy method hash_equal into your local function.php

  • I hadn't created it. It appears after installation of SUPEE-8788 Commented Dec 26, 2016 at 11:30
  • ` grep 'functions.php' PATCH_SUPEE-8788_CE_1.8.0.0_v2-2016-10-14-09-33-04.sh diff --git app/code/core/Mage/Core/functions.php app/code/core/Mage/Core/functions.php --- app/code/core/Mage/Core/functions.php +++ app/code/core/Mage/Core/functions.php` Commented Dec 26, 2016 at 14:31
  • Whats that ? Should I run that command on shell to see effects ?? Commented Dec 28, 2016 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.