summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Fundamentals/Applications.page
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-12 21:33:46 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-12 21:33:46 +0100
commitf25b3b4272a2571247457eb2926af0f88cfca838 (patch)
tree1ffdd890afef329cd9f779a441e972f2981cb07d /demos/quickstart/protected/pages/Fundamentals/Applications.page
parent781f6731122cf622bcdf64441d247b5e37a2c3d0 (diff)
Big quickstart doc overhaul, pt. 1
Diffstat (limited to 'demos/quickstart/protected/pages/Fundamentals/Applications.page')
-rwxr-xr-xdemos/quickstart/protected/pages/Fundamentals/Applications.page4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Fundamentals/Applications.page b/demos/quickstart/protected/pages/Fundamentals/Applications.page
index 8e0b9e9a..71901170 100755
--- a/demos/quickstart/protected/pages/Fundamentals/Applications.page
+++ b/demos/quickstart/protected/pages/Fundamentals/Applications.page
@@ -7,7 +7,11 @@ An application is an instance of <tt>TApplication</tt> or its derived class. It
<p id="160158" class="block-content">
Applications are configured via <a href="?page=Configurations.AppConfig">application configurations</a>. They are usually created in entry scripts like the following,
<com:TTextHighlighter CssClass="source block-content" id="code_160071">
+// load the prado entry script
require_once('/path/to/prado.php');
+// or, if using composer:
+require_once('vendor/autoload.php');
+
$application = new TApplication;
$application->run();
</com:TTextHighlighter>