Changeset 5211

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

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

Files:
1 modified

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');