set the update server, and fixed some readme text

This commit is contained in:
Llewellyn van der Merwe 2016-06-03 14:01:08 +01:00
parent 050f6c079a
commit d1368b3a05
2 changed files with 14 additions and 7 deletions

View File

@ -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/) > 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) # Usage in Joomla (PHP)
` ```php
// Import TCPDF library // Import TCPDF library
jimport('tcpdf.tcpdf'); jimport('tcpdf.tcpdf');
` ```
or or
` ```php
// Import TCPDF library // Import TCPDF library
require_once JPATH_LIBRARIES . '/tcpdf/tcpdf.php'; require_once JPATH_LIBRARIES . '/tcpdf/tcpdf.php';
` ```
Now you can create a new PDF document: Now you can create a new PDF document:
' ```php
$pdf = new TCPDF(); $pdf = new TCPDF();
' ```
# Documentation # Documentation
+ [Source Code Documentation] (http://www.tcpdf.org) + [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. 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 # 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))

View File

@ -14,4 +14,11 @@
<files> <files>
<folder>tcpdf</folder> <folder>tcpdf</folder>
</files> </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> </extension>