Skip to main content

Timeline for How do I get the base path?

Current License: CC BY-SA 3.0

2 events
when toggle format what by license comment
Mar 28, 2021 at 22:41 comment added DarkteK base_path() is returning "/" in the "hook_preprocess_block" but if I use it in "hook_preprocess" I get the absolute url of my domain, why is this?
Jul 10, 2016 at 0:28 history answered mlncn CC BY-SA 3.0