andi Wed Sep 26 07:46:15 2001 EDT
Modified files:
/r2/binarycloud/user/htdocs compilertest.html
Log:
Now working with init. Static module hello world is built.
Index: r2/binarycloud/user/htdocs/compilertest.html
diff -u r2/binarycloud/user/htdocs/compilertest.html:1.3 r2/binarycloud/user/htdocs/compilertest.html:1.4
--- r2/binarycloud/user/htdocs/compilertest.html:1.3 Wed Sep 26 04:04:02 2001
+++ r2/binarycloud/user/htdocs/compilertest.html Wed Sep 26 07:46:15 2001
@@ -1,3 +1,39 @@
+<?php
+// {{{ Header
+/*
+ * -File $Id: compilertest.html,v 1.4 2001/09/26 14:46:15 andi Exp $
+ * -License LGPL (http://www.gnu.org/copyleft/lesser.html)
+ * -Copyright 2001, The Turing Studio, Inc.
+ * -Author alex black, en...@tu...
+ */
+// }}}
+include_once('./prepend.php');
+import('binarycloud.init.Init');
+$Init = new Init();
+$gPageDef = array(
+ 'title' => "binarycloud page title",
+ 'cache' => array(
+ 'expires' => '30',
+ ),
+ 'init' => array(
+ 'ini' => true,
+ 'auth' => false,
+ 'perm' => false,
+ 'sess' => true,
+ 'lang' => true,
+ 'cache' => true,
+ ),
+ 'templates' => array(
+ 'default' => array(
+ 'name' => "static_example",
+ 'package' => "html.masters",
+ 'type' => "html",
+ ),
+ ),
+);
+$Init->Startup();
+?>
+
<html>
<head>
<title>Test</title>
|