Tuesday, April 4, 2017

PHP Notice: Constant FLD_EMAIL already defined laravel

I have created a file called db-constant.php in conifg directory in laravel , this file contains my constants,then i added this line require_once 'db-constants.php'; in app.php ,the problem is where i type php artisan cache:clear or any command this message will appear

PHP Notice: Constant FLD_EMAIL already defined in /var/www/html/test/config/db-constants.php on line 1

how can i fix this ?



via wahdan

Advertisement