Đăng ký học joomla

Tin tức mới nhất

Thống kê truy cập

Truy cập trong ngày:129
Truy cập hôm qua:423
Tổng số truy cập:540467
Đang online: 11 Khách 

Để sử dụng thư viện joomla, bạn sử dụng đoạn code sau:


<?php
/* Initialize Joomla framework */
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
/* Required Files */
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
/* To use Joomla's Database Class */
require_once( JPATH_BASE .DS.'libraries'.DS.'joomla'.
DS.'factory.php' );
/* Create the Application */
$mainframe =& JFactory::getApplication('site');
/**************************************************/
// Your code starts here...
/**************************************************/

?>
 

Comments  

 
0 #3 Dat 2013-08-08 10:13
Bạn có thể cho mình biết tổng hợp của thư viện này được lưu ở đâu không nhỉ?
Quote
 
 
0 #2 asdsa 2013-05-05 11:35
eqweqw
Quote
 
 
0 #1 tét 2012-11-15 22:25
test
Quote
 

Add comment


Security code
Refresh

thiet ke web chuan w3c

Dịch vụ seo website

seo website