Changeset 6215

Show
Ignore:
Timestamp:
07/30/08 14:47:02 (5 years 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) {