开发者

SITE_ROOT = Variable?

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

How can I get this:

d开发者_运维问答efine ('SITE_ROOT', $_SERVER['DOCUMENT_ROOT'] . SITE_BASE);

to look something like this:

define ('SITE_ROOT', [variable from root.com/directory/data.php] );

Many thanks.


<?php
    include_once("/directory/data.php");
    define('SITE_ROOT', $variable);
?>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜