Skip to content

Commit 95b552e

Browse files
committed
Remove half-truth re: building URLs for objects in the webroot
1 parent 9fcc871 commit 95b552e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

docs/4.x/directory-structure.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ Configuration
6868
Purpose
6969
: This directory represents your server’s web root. The public `index.php` file lives here, alongside your static images, stylesheets, and JavaScript files.
7070

71-
You can generate a URL to a file in this folder with Twig’s [`siteUrl()` function](./dev/functions.md#siteurl).
72-
7371
Customization
7472
: [`CRAFT_WEB_ROOT`](./config/README.md#craft-web-root) <Since ver="4.3.0" feature="Customizing the web root via environment override" /> — This is primarily used to set the [`@webroot` alias](./config/README.md#aliases).
7573

docs/5.x/system/directory-structure.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ Configuration
6666
Purpose
6767
: This directory represents your server’s web root. The public `index.php` file lives here, alongside your static images, stylesheets, and JavaScript files.
6868

69-
You can generate a URL to a file in this folder with Twig’s [`siteUrl()` function](../reference/twig/functions.md#siteurl).
70-
7169
Customization
7270
: [`CRAFT_WEB_ROOT`](../reference/config/bootstrap.md#craft-web-root) — This is primarily used to set the [`@webroot` alias](../configure.md#aliases).
7371

0 commit comments

Comments
 (0)