From 52da3c8bb80a36fb923ba8971f8a3a1612e3d574 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 16 Sep 2011 10:19:34 +0000 Subject: [PATCH] git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8622 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Controller.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 classes/Controller.php diff --git a/classes/Controller.php b/classes/Controller.php new file mode 100644 index 000000000..56b775a83 --- /dev/null +++ b/classes/Controller.php @@ -0,0 +1,34 @@ + +* @copyright 2007-2011 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +abstract class ControllerCore +{ + public static function getController($className, $auth = false, $ssl = false) + { + return new $className($auth, $ssl); + } +} \ No newline at end of file