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 ?


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

| improve this answer | |
  • I hadn't created it. It appears after installation of SUPEE-8788 – Manish Gangola Dec 26 '16 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` – Yaroslav Voronoy Dec 26 '16 at 14:31
  • Whats that ? Should I run that command on shell to see effects ?? – Manish Gangola Dec 28 '16 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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