Changeset 5210


Ignore:
Timestamp:
Mar 21, 2010, 8:51:07 AM (15 years ago)
Author:
ddtddt
Message:

[Branche2] bug:1523 / Compatibility with PHP 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/functions.inc.php

    r5017 r5210  
    458458  {
    459459    $path = PHPWG_ROOT_PATH.'language/'.$file;
    460     if (!is_link($path) and file_exists($path.'/iso.txt'))
     460    if (!is_link($path) and is_dir($path) and file_exists($path.'/iso.txt'))
    461461    {
    462462      list($language_name) = @file($path.'/iso.txt');
Note: See TracChangeset for help on using the changeset viewer.