9 years ago
1
Topic

There is some protection that prevents me using JFactory object :: getDBO (); on page I created?

Get a VIP membership
9 years ago
0
Level 1

Resolvido !!! Utilizei assim : define( '_JEXEC', 1 ); define( 'DS', DIRECTORY_SEPARATOR ); define('JPATH_BASE', 'path_site'); require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); $mainframe =& JFactory::getApplication('site'); $mainframe->initialise();

Get a Book for SEBLOD