Changeset 13053

Show
Ignore:
Timestamp:
12/08/11 18:42:51 (2 years ago)
Author:
p_lindheimer
Message:

check if the setting exists first, this will have to be added to beta3/rc1 whichever comes next for existinginstalls to run, should not add such things to migrations scripts for releases that are already out

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/upgrades/2.10.0beta2/migration.php

    r12993 r13053  
    3232 
    3333//move freepbx debug log 
    34 $freepbx_conf->set_conf_values(array('FPBXDBUGFILE' => '/var/log/asterisk/freepbx_debug'), true); 
     34if ($freepbx_conf->conf_setting_exists('FPBXDBUGFILE')) { 
     35  $freepbx_conf->set_conf_values(array('FPBXDBUGFILE' => '/var/log/asterisk/freepbx_debug'), true); 
     36
    3537 
    3638$outdated = array(