// Merge -> revision 8507
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8513 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -40,13 +40,22 @@ class ToolsInstall
|
||||
{
|
||||
// Don't include theses files if classes are already defined
|
||||
if (!class_exists('Validate', false))
|
||||
require_once(INSTALL_PATH.'/../classes/Validate.php');
|
||||
{
|
||||
include_once(INSTALL_PATH.'/../classes/Validate.php');
|
||||
eval('class Validate extends ValidateCore{}');
|
||||
}
|
||||
|
||||
if (!class_exists('Db', false))
|
||||
require_once(INSTALL_PATH.'/../classes/Db.php');
|
||||
{
|
||||
include_once(INSTALL_PATH.'/../classes/Db.php');
|
||||
eval('abstract class Db extends DbCore{}');
|
||||
}
|
||||
|
||||
if (!class_exists('MySQL', false))
|
||||
require_once(INSTALL_PATH.'/../classes/MySQL.php');
|
||||
{
|
||||
include_once(INSTALL_PATH.'/../classes/MySQL.php');
|
||||
eval('class MySQL extends MySQLCore{}');
|
||||
}
|
||||
|
||||
if($posted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user