Require is not getting the file

0

Hello, please do not require this error:

Warning: require(./funcs/FuncSQL.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/Lucktor/pages/home.php on line 42

Fatal error: require(): Failed opening required './funcs/FuncSQL.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/Lucktor/pages/home.php on line 42

But as you can see in the image below it is there:

Isetthepathaswell

define("DIR_PAGES", DIR.'pages/');

And I call it this way:

require DIR_FUNCS.'FuncSQL.php';
    
asked by anonymous 16.02.2017 / 22:55

0 answers