sub-invoke()
This commit is contained in:
+2
-1
@@ -4,7 +4,7 @@ RENDER()
|
||||
{
|
||||
|
||||
<html>
|
||||
<link rel="stylesheet" href='style.css?v=1'></link>
|
||||
<link rel="stylesheet" href='style.css'></link>
|
||||
<h1>
|
||||
<a href="index.uce">UCE Test</a>:
|
||||
Index
|
||||
@@ -13,6 +13,7 @@ RENDER()
|
||||
<li><a href="hello.uce">Hello</a></li>
|
||||
<li><a href="post.uce">Form Post</a></li>
|
||||
<li><a href="post-multipart.uce">Form Multipart Post</a></li>
|
||||
<li><a href="working-dir.uce">Working Directory</a></li>
|
||||
</ul>
|
||||
<pre><?= var_dump(context->params) ?></pre>
|
||||
</html>
|
||||
|
||||
+2
-1
@@ -65,7 +65,8 @@ textarea {
|
||||
pre {
|
||||
height: 20%;
|
||||
overflow: auto;
|
||||
padding. 8px;
|
||||
padding: 8px;
|
||||
border: 2px solid rgba(0,0,0,0.2);
|
||||
background: rgba(100,100,100,0.15);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
RENDER()
|
||||
{
|
||||
echo("Sub-Invoke Working dir: " + get_cwd() + "\n");
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
RENDER()
|
||||
{
|
||||
|
||||
<>
|
||||
<link rel="stylesheet" href='style.css'></link>
|
||||
<h1>
|
||||
<a href="index.uce">UCE Test</a>:
|
||||
Working Directory
|
||||
</h1>
|
||||
<pre><?
|
||||
echo("Base WD: " + get_cwd() + "\n");
|
||||
invoke("/Code/uce.openfu.com/uce/test/test2/working-dir-test.uce");
|
||||
?></pre>
|
||||
<pre><?= var_dump(context->params) ?></pre>
|
||||
</>
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user