mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-21 20:35:13 +00:00
set the update server, and fixed some readme text
This commit is contained in:
parent
050f6c079a
commit
d1368b3a05
14
README.md
14
README.md
@ -46,19 +46,19 @@ Copyright (c) 2002-2015:
|
||||
> Compiled into an installer for Joomla 3 by [Llewellyn van der Merwe] (mailto:joomla@vdm.io) at [Vast Development Method] (https://www.vdm.io/)
|
||||
|
||||
# Usage in Joomla (PHP)
|
||||
`
|
||||
```php
|
||||
// Import TCPDF library
|
||||
jimport('tcpdf.tcpdf');
|
||||
`
|
||||
```
|
||||
or
|
||||
`
|
||||
```php
|
||||
// Import TCPDF library
|
||||
require_once JPATH_LIBRARIES . '/tcpdf/tcpdf.php';
|
||||
`
|
||||
```
|
||||
Now you can create a new PDF document:
|
||||
'
|
||||
```php
|
||||
$pdf = new TCPDF();
|
||||
'
|
||||
```
|
||||
|
||||
# Documentation
|
||||
+ [Source Code Documentation] (http://www.tcpdf.org)
|
||||
@ -68,4 +68,4 @@ $pdf = new TCPDF();
|
||||
This library is integrated with Joomla's automatic updates. Before updating it's mandatory that you check that your documents still work as expected.
|
||||
|
||||
# License
|
||||
TCPDF is licensed under LGPL ([GNU LESSER GENERAL PUBLIC LICENSE] (https://github.com/tecnickcom/TCPDF/blob/develop/LICENSE.TXT))
|
||||
TCPDF is licensed under LGPL ([GNU LESSER GENERAL PUBLIC LICENSE] (https://github.com/vdm-io/tcpdf/blob/master/tcpdf/LICENSE.TXT))
|
@ -14,4 +14,11 @@
|
||||
<files>
|
||||
<folder>tcpdf</folder>
|
||||
</files>
|
||||
|
||||
<updateservers>
|
||||
<server type="extension" priority="2"
|
||||
name="TCPDF-Joomla-Library Update Server">http://raw.githubusercontent.com/vdm-io/tcpdf/master/updates/extension.xml</server>
|
||||
<server type="extension" priority="1"
|
||||
name="TCPDF-Joomla-Library Update Server (HTTPS)">https://raw.githubusercontent.com/vdm-io/tcpdf/master/updates/extension.xml</server>
|
||||
</updateservers>
|
||||
</extension>
|
Loading…
Reference in New Issue
Block a user