function bb2_relative_path in Bad Behavior 7.2
Same name and namespace in other branches
- 5.2 badbehavior.module \bb2_relative_path()
- 6.2 badbehavior.module \bb2_relative_path()
- 6 badbehavior.module \bb2_relative_path()
Return the top-level relative path of wherever we are (for cookies).
Return value
string
File
- ./
badbehavior.module, line 229 - Integrates Bad Behavior with Drupal
Code
function bb2_relative_path() {
global $base_path;
return $base_path;
}