开发者

drupal template page DEFINE problem

hi my drupal site is http://test.example.com

i have a template.php file in my theme folder

define('S开发者_JS百科ITE_ROOT','http://example.com/abcd/');

i am using this SITE_ROOT for my custom functions

but echoing SITE_ROOT gives http://test.example.com

how is this happening.

plz help


Look for define('SITE_ROOT' in the whole drupal source code; it's probably defined somewhere in index.php or the config file.


thank you guys

i find the solution . i defined the SITE_ROOT in settings.php file and everything worked fine.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜