Changeset 6708

Show
Ignore:
Timestamp:
09/13/08 18:04:03 (5 years ago)
Author:
p_lindheimer
Message:

re #3191 fix uninitialized variables

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/common/db_connect.php

    r6525 r6708  
    7272// Now send or delete warning wrt to default passwords: 
    7373// 
    74 if (!$quietmode) { 
     74if (!isset($quietmode) || !$quietmode) { 
    7575  $nt = notifications::create($db); 
    7676 
  • freepbx/branches/2.5/install_amp

    r6601 r6708  
    803803} 
    804804// If they pre-set this in their amportal.conf or this is an upgrade, we should honor it as well 
    805 if($amp_conf["FOPDISABLE"] == "true" || $amp_conf["FOPDISABLE"] == "YES" || $amp_conf["FOPDISABLE"] == "yes" || $amp_conf["FOPDISABLE"] == "Yes" || $amp_conf["FOPDISABLE"] == "y" )  { 
     805// 
     806if (isset($amp_conf['FOPDISABLE']) && (strtolower(trim($amp_conf['FOPDISABLE'])) == 'true' || strtolower(trim($amp_conf['FOPDISABLE'])) == 'yes' || strtolower(trim($amp_conf['FOPDISABLE'])) == 'y') )  { 
    806807  $install_fop = false; 
    807808}