Changeset 6504

Show
Ignore:
Timestamp:
08/29/08 11:13:55 (3 months ago)
Author:
p_lindheimer
Message:

don't define WEBROOT if AMPWEBADDRESS is not defined, it breaks the graphing libraries (which seem to otherwise function fine without it defined)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/lib/defines.php

    r6272 r6504  
    1616 
    1717 
    18 define ("WEBROOT", "http://".$amp_conf["AMPWEBADDRESS"]."/admin/cdr/"); 
     18if (isset($amp_conf["AMPWEBADDRESS"])) { 
     19        define ("WEBROOT", "http://".$amp_conf["AMPWEBADDRESS"]."/admin/cdr/"); 
     20
    1921define ("FSROOT", $amp_conf["AMPWEBROOT"]."/admin/cdr/"); 
    2022 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads