Guest User

Untitled

a guest
May 26th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. */
  2. function main($content,$conf) {
  3.  
  4.  
  5. $this->conf=$conf;
  6. $this->pi_setPiVarDefaults();
  7.  
  8. /* globals + conf abfragen */
  9. $pageId = $GLOBALS['TSFE']->id;
  10. $langId = $GLOBALS['TSFE']->sys_language_uid;
  11. $db = $GLOBALS['TYPO3_DB'];
  12. $this->db = $db;
  13.  
  14. $displayFunc = $conf["displayfunc"];
  15.  
  16. /* iso sprachcode abfragen*/
  17. $aux = explode("_",$GLOBALS['TSFE']->config['config'['locale_all']);
  18. $lang = $aux[0];
  19.  
  20. /* local lang laden */
  21. $this->LLkey = $lang;
  22. $this->pi_loadLL();
Add Comment
Please, Sign In to add comment