Changeset 5211


Ignore:
Timestamp:
03/21/10 08:56:53 (10 years ago)
Author:
ddtddt
Message:

[trunk] merge bug:1523 / Compatibility with PHP 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r5208 r5211  
    411411  { 
    412412    $path = PHPWG_ROOT_PATH.'language/'.$file; 
    413     if (!is_link($path) and file_exists($path.'/iso.txt')) 
     413    if (!is_link($path) and is_dir($path) and file_exists($path.'/iso.txt')) 
    414414    { 
    415415      list($language_name) = @file($path.'/iso.txt'); 
Note: See TracChangeset for help on using the changeset viewer.