How to Tell What Version of Magento

Sharing is Caring

The easiest way of telling what version of Magento you are running is by viewing file app/Mage.php and looking for a function called getVersionInfo().

The function should look something like the following and be fairly self explanatory to most developers.


public static function getVersionInfo()
{
return array(
'major' => '1',
'minor' => '5',
'revision' => '0',
'patch' => '1',
'stability' => '',
'number' => '',
);
}

Hope this helps!

Sharing is Caring

Brian is a programmer and technology leader living in Niagara Falls with more than ten years of development experience. He is passionate about automation, business process re-engineering, and building a better tomorrow.

Brian is a proud father of four: two boys, and two girls and has been happily married to Crystal for more than ten years. From time to time, Brian may post about his faith, his family, and definitely about technology.