POSSA / freepbx-trunk-balancing

Restrict outbound calls or balance calls over multiple trunks based on user specified parameters
http://pbxossa.org/files/trunkbalance/
36 stars 30 forks source link

Use of undefined constant module #40

Open 4-FLOSS-Free-Libre-Open-Source-Software opened 4 years ago

4-FLOSS-Free-Libre-Open-Source-Software commented 4 years ago

Arguments "Use of undefined constant module - assumed 'module' (this will throw an Error in a future version of PHP)"

Whoops\Exception\ErrorException /var/www/html/admin/modules/trunkbalance/page.trunkbalance.php251

RustemFS commented 2 years ago

Arguments "Use of undefined constant module - assumed 'module' (this will throw an Error in a future version of PHP)"

Whoops\Exception\ErrorException /var/www/html/admin/modules/trunkbalance/page.trunkbalance.php251

Insert the following lines into the beginning of the file /var/www/html/admin/modules/trunkbalance/page.trunkbalance.php :

define('module', $_SERVER['module']); define('version', $_SERVER['version']);