Skip to content

Commit

Permalink
Fix legacy mode on new Joomla versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fastslack committed Jun 25, 2012
1 parent 48f8543 commit 851edd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trunk/admin/includes/install_config.php
Expand Up @@ -21,6 +21,9 @@
}else if (file_exists(JPATH_LIBRARIES.'/import.php')) {
require_once JPATH_LIBRARIES.'/import.php';
}
if (file_exists(JPATH_LIBRARIES.'/cms/model/legacy.php')) {
require_once JPATH_LIBRARIES.'/cms/model/legacy.php';
}
require_once JPATH_LIBRARIES.'/joomla/methods.php';
require_once JPATH_LIBRARIES.'/joomla/factory.php';
require_once JPATH_LIBRARIES.'/joomla/error/error.php';
Expand Down
3 changes: 3 additions & 0 deletions trunk/admin/includes/install_db.php
Expand Up @@ -27,6 +27,9 @@
}else if (file_exists(JPATH_LIBRARIES.'/import.php')) {
require_once JPATH_LIBRARIES.'/import.php';
}
if (file_exists(JPATH_LIBRARIES.'/cms/model/legacy.php')) {
require_once JPATH_LIBRARIES.'/cms/model/legacy.php';
}
require_once JPATH_LIBRARIES.'/joomla/methods.php';
require_once JPATH_LIBRARIES.'/joomla/factory.php';
require_once JPATH_LIBRARIES.'/joomla/error/error.php';
Expand Down

0 comments on commit 851edd4

Please sign in to comment.