aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Creating-Templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Creating-Templates.md')
-rw-r--r--doc/Creating-Templates.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Creating-Templates.md b/doc/Creating-Templates.md
index 6de627f39..fc3f18dd3 100644
--- a/doc/Creating-Templates.md
+++ b/doc/Creating-Templates.md
@@ -18,7 +18,7 @@ view/php/default.php
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
- <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
+ <script>var baseurl="<?php echo z_root() ?>";</script>
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
</head>
<body>