[英]Addition Base url in drupal
I had added new base url in Drupal in setting.php but it is not accessible on another page.. 我在setting.php中的Drupal中添加了新的基本URL,但无法在另一页面上访问。
$base_url = 'http://' //working
$base_url_theme = 'http://' //not working
You can get theme path like this: 您可以这样获得主题路径:
$theme_path = drupal_get_path('theme', 'theme_machine_name');
And use that variable as previx of path to theme elements (images...). 并将该变量用作主题元素(图像...)路径的前导。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.