diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-12 21:33:46 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-08-23 12:34:07 +0200 |
commit | 1144e49b8e00fa75b1593e4637c9218d7d944b97 (patch) | |
tree | 363c96c164a76587a306319a871ecceefe5c0cb6 /demos/quickstart/protected/pages/Fundamentals/Applications.page | |
parent | 9733613002b664ec9cbdc6dec9d6fd57ee901f1e (diff) |
Big quickstart doc overhaul, pt. 1
Diffstat (limited to 'demos/quickstart/protected/pages/Fundamentals/Applications.page')
-rwxr-xr-x | demos/quickstart/protected/pages/Fundamentals/Applications.page | 4 |
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>
|