at /var/www/html/folder/a.php, i wrote include 'sub/autoload.php';
                  
                  
                  
                  
                  
                  #on b.php which is located at /var/www/html/folder/sub-folder/b.php, i wrote include '/sub/autoload.php';
                  
                  
                  ( added */* first )
                  
                  
                  
                  
                  
                  Now will a.php include file in DocRoot/sub/autoload.php
                  
                  
                  and b.php include file in DocRoot/sub/autoload.php
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  If am right am trying to know if i put */* at starting it will include files from the DocumentRoot ?
                  
                  
                
Yes while using / I will look from the root directory of the domain
Обсуждают сегодня