mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Import from DCARF SVN
This commit is contained in:
10
include/limesurvey/admin/classes/tcpdf/checkphpversion.php
Normal file
10
include/limesurvey/admin/classes/tcpdf/checkphpversion.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if (version_compare(PHP_VERSION, '5.0.0', '<') && version_compare(PHP_VERSION, '4.0.0', '>'))
|
||||
{
|
||||
require_once('tcpdf_php4.php');
|
||||
}
|
||||
else if (version_compare(PHP_VERSION, '5.0.0', '>'))
|
||||
{
|
||||
require_once('tcpdf.php');
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user