Changeset 6215

Show
Ignore:
Timestamp:
07/30/08 11:47:02 (4 months ago)
Author:
ethans
Message:

Bug in php-5.2.5 with version_compare on unqouted string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/libfreepbx.install.php

    r4993 r6215  
    180180        debug("mkdir ".$directory.", ".$mode); 
    181181        $ntmp = sscanf($mode,"%o",$modenum); //assumes all inputs are octal 
    182         if (version_compare(phpversion(), 5.0) < 0) { 
     182        if (version_compare(phpversion(), '5.0') < 0) { 
    183183                // php <5 can't recursively create directories 
    184184                if ($recursive) { 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads