SITE_ROOT = Variable?

后端 未结 1 692
清歌不尽
清歌不尽 2021-01-26 12:47

I\'d very much appreciate if someone could help me with a solution.

How can I get this:

define (\'SITE_ROOT\', $_SERVER[\'DOCUMENT_ROOT\'] . SITE_BASE);
         


        
相关标签:
1条回答
  • 2021-01-26 13:21
    <?php
        include_once("/directory/data.php");
        define('SITE_ROOT', $variable);
    ?>
    
    0 讨论(0)
提交回复
热议问题