From 4892c11aaaad10a6511d4b0451fed989c8af509c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 22 Jan 2013 14:29:58 +0100 Subject: [PATCH] Clarified docs on isDev usage in dev/build --- docs/en/reference/database-structure.md | 2 +- docs/en/reference/urlvariabletools.md | 4 ++-- docs/en/topics/datamodel.md | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/en/reference/database-structure.md b/docs/en/reference/database-structure.md index e063ba2cd..485fef043 100644 --- a/docs/en/reference/database-structure.md +++ b/docs/en/reference/database-structure.md @@ -79,7 +79,7 @@ left-join for robustness; if there is no matching record in Page, we can return SilverStripe has a powerful tool for automatically building database schemas. We've designed it so that you should never have to build them manually. -To access it, visit (site-root)/dev/build?flush=1. This script will analyze the existing schema, compare it to what's required by your data classes, and alter the schema as required. +To access it, visit http:///dev/build?flush=1. This script will analyze the existing schema, compare it to what's required by your data classes, and alter the schema as required. Put the ?flush=1 on the end if you've added PHP files, so that the rest of the system will find these new classes. diff --git a/docs/en/reference/urlvariabletools.md b/docs/en/reference/urlvariabletools.md index 3c4b09276..e373b149c 100644 --- a/docs/en/reference/urlvariabletools.md +++ b/docs/en/reference/urlvariabletools.md @@ -26,8 +26,8 @@ Append the option and corresponding value to your URL in your browser's address | URL Variable | | Values | | Description | | ------------ | | ------ | | ----------- | - | isDev | | 1 | | Put the site into [development mode](/topics/debugging), enabling debugging messages to the browser on a live server. For security, you'll be asked to log in with an administrator log-in | - | isTest | | 1 | | Put the site into [test mode](/topics/debugging), enabling debugging messages to the admin email and generic errors to the browser on a live server | + | isDev | | 1 | | Put the site into [development mode](/topics/debugging), enabling debugging messages to the browser on a live server. For security, you'll be asked to log in with an administrator log-in. Will persist for the current browser session. | + | isTest | | 1 | | See above. | | debug | | 1 | | Show a collection of debugging information about the director / controller operation | | debug_request | | 1 | | Show all steps of the request from initial `[api:HTTPRequest]` to `[api:Controller]` to Template Rendering | diff --git a/docs/en/topics/datamodel.md b/docs/en/topics/datamodel.md index bf3aed566..f47daac20 100755 --- a/docs/en/topics/datamodel.md +++ b/docs/en/topics/datamodel.md @@ -23,7 +23,8 @@ The SilverStripe database-schema is generated automatically by visiting the URL. `http:///dev/build`
-Note: You need to be logged in as an administrator to perform this command. +Note: You need to be logged in as an administrator to perform this command, +unless your site is in "[dev mode](/topics/debugging)", or the command is run through CLI.
## Querying Data