[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 compatibility.php

Zen Cart 源代码 compatibility.php




下载文件

文件名: compatibility.php
文件类型: PHP文件
文件大小: 1.07 KiB
MD5: aac63018bda497616db7877c07906da3

compatibility.php - 关闭高亮
  1. <?php
  2. /**
  3.  * compatibility functions
  4.  *
  5.  * @package functions
  6.  * @copyright Copyright 2003-2005 Zen Cart Development Team
  7.  * @copyright Portions Copyright 2003 osCommerce
  8.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  9.  * @version $Id: compatibility.php 2618 2005-12-20 00:35:47Z drbyte $
  10.  */
  11.  
  12.  
  13. /////////////////////////////////////////
  14. // remove in v1.3 ?
  15. /*
  16. // disabled
  17.   if (!function_exists('fmod')) {
  18.     function fmod($zf_x, $zf_y) {
  19.       $zp_i = floor($zf_x/$zf_y);
  20.       return $zf_x - $zp_i/$zf_y;
  21.     }
  22.   }
  23. */
  24. // mange for values < 1
  25.   if (!function_exists('fmod')) {
  26.     function fmod($x2, $y2) {
  27.       $i2 = fmod($x2*1000,$y2*1000);
  28.       return $i2;
  29.     }
  30.   }
  31. /////////////////////////////////////////
  32.  
  33.  
  34. // The following is not tested extensively, but should work in theory:
  35. /*  if (!function_exists('file_get_contents')) {
  36.     function file_get_contents($zf_file) {
  37.       $za_file=file($zf_file);
  38.       foreach ($za_file as $line) {
  39.         $zp_return .= $line;
  40.       }
  41.       return $zp_return;
  42.     }
  43.   }
  44. */
  45.  
  46. ?>


cron