summaryrefslogtreecommitdiff
path: root/app/php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-02-24 23:38:27 +0100
committeremkael <emkael@tlen.pl>2016-02-24 23:41:25 +0100
commit2173f7d7613b5158f4bb2f71a02df353c058c1ee (patch)
treeeac23e40bc497706b862b5d2ca01920c4b37ed92 /app/php
parent6e72eace43adc48f0b311c26d66d13315e25fe93 (diff)
* moving PHP app files to app/php and Python app files to app/python
Diffstat (limited to 'app/php')
-rw-r--r--app/php/application.xml39
-rw-r--r--app/php/pages/Home.page8
l---------app/php/runtime1
3 files changed, 48 insertions, 0 deletions
diff --git a/app/php/application.xml b/app/php/application.xml
new file mode 100644
index 0000000..98f3af5
--- /dev/null
+++ b/app/php/application.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<application id="http" mode="Debug">
+ <!-- alias definitions and namespace usings
+ <paths>
+ <alias id="myalias" path="./lib" />
+ <using namespace="Application.common.*" />
+ </paths>
+ -->
+
+ <!-- configurations for modules -->
+ <modules>
+ <!-- Remove this comment mark to enable caching
+ <module id="cache" class="System.Caching.TDbCache" />
+ -->
+
+ <!-- Remove this comment mark to enable PATH url format
+ <module id="request" class="THttpRequest" UrlFormat="Path" />
+ -->
+
+ <!-- Remove this comment mark to enable logging
+ <module id="log" class="System.Util.TLogRouter">
+ <route class="TBrowserLogRoute" Categories="System" />
+ </module>
+ -->
+ </modules>
+
+ <!-- configuration for available services -->
+ <services>
+ <service id="page" class="TPageService" DefaultPage="Home" />
+ </services>
+
+ <!-- application parameters
+ <parameters>
+ <parameter id="param1" value="value1" />
+ <parameter id="param2" value="value2" />
+ </parameters>
+ -->
+</application>
diff --git a/app/php/pages/Home.page b/app/php/pages/Home.page
new file mode 100644
index 0000000..368b3e7
--- /dev/null
+++ b/app/php/pages/Home.page
@@ -0,0 +1,8 @@
+<html>
+<head>
+ <title>Welcome to PRADO</title>
+</head>
+<body>
+<h1>Welcome to PRADO!</h1>
+</body>
+</html> \ No newline at end of file
diff --git a/app/php/runtime b/app/php/runtime
new file mode 120000
index 0000000..2cee2e0
--- /dev/null
+++ b/app/php/runtime
@@ -0,0 +1 @@
+../../cache/prado \ No newline at end of file