Changeset 17260


Ignore:
Timestamp:
2008/04/14 15:56:41 (12 years ago)
Author:
nanasess
Message:

PHP5 のみの処理を修正(#276)

Location:
branches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-euc/data/pdf/fpdi.php

    r17113 r17260  
    461461 
    462462// for PHP5 
    463 if (!class_exists('fpdi')) { 
    464     class fpdi extends FPDI {} 
     463if (version_compare("5", PHP_VERSION, "<")) { 
     464    if (!class_exists('fpdi')) { 
     465        class fpdi extends FPDI {} 
     466    } 
    465467} 
    466468?> 
  • branches/comu-ver2/data/pdf/fpdi.php

    r17182 r17260  
    461461 
    462462// for PHP5 
    463 if (!class_exists('fpdi')) { 
    464     class fpdi extends FPDI {} 
     463if (version_compare("5", PHP_VERSION, "<")) { 
     464    if (!class_exists('fpdi')) { 
     465        class fpdi extends FPDI {} 
     466    } 
    465467} 
    466468?> 
Note: See TracChangeset for help on using the changeset viewer.