Timeline for When accessing Joomla from an external script when should you include ('libraries/joomla/factory.php');?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2014 at 0:37 | comment | added | TryHarder | I should have included the code when I posted. Anyway I've updated the question. Thanks. | |
Jul 8, 2014 at 0:25 | vote | accept | TryHarder | ||
Jul 7, 2014 at 21:51 | comment | added | Craig |
Well defines just setups up all the JPATH_* globals and framework is effectively the whole CMS so no then you wouldn't need JFactory to be included separately.
|
|
Jul 7, 2014 at 5:40 | comment | added | TryHarder | Specifically it said "Those two includes import the framework, including JFactory, into the execution path." | |
Jul 7, 2014 at 5:35 | comment | added | TryHarder |
I read that if you include require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); and require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); JFactory would be included. Is this wrong? Link forum.joomla.org/viewtopic.php?p=1701888
|
|
Jul 7, 2014 at 5:14 | history | answered | Craig | CC BY-SA 3.0 |