alex Wed Aug 8 17:43:14 2001 EDT
Removed files:
/r2/binarycloud/user/htdocs mod_group_cache_test.php
Modified files:
/r2/binarycloud/user/htdocs page_cache_test.php
Log:
htdocs mods
Index: r2/binarycloud/user/htdocs/page_cache_test.php
diff -u r2/binarycloud/user/htdocs/page_cache_test.php:1.1 r2/binarycloud/user/htdocs/page_cache_test.php:1.2
--- r2/binarycloud/user/htdocs/page_cache_test.php:1.1 Wed Aug 8 11:40:50 2001
+++ r2/binarycloud/user/htdocs/page_cache_test.php Wed Aug 8 17:43:14 2001
@@ -1,23 +1,17 @@
<?php
// {{{ Header
/*
- * -File $Id: page_cache_test.php,v 1.1 2001/08/08 18:40:50 alex Exp $
+ * -File $Id: page_cache_test.php,v 1.2 2001/08/09 00:43:14 alex 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');
// ripped from /path/to/binarycloud/user/htdocs/index.xml
$gPageDef = array(
- 'cache' => array(
- 'expires' => '30',
- 'var' => 'moo'
- ),
'title' => "binarycloud page title",
'init' => array(
'ini' => true,
@@ -25,6 +19,7 @@
'perm' => false,
'sess' => true,
'lang' => true,
+ 'cache' => true
),
'templates' => array(
'default' => array(
@@ -40,17 +35,23 @@
),
'modules' => array(
- 'content' => array(
+ array(
+ 'id' => 'content',
'layout' => array(
'name' => "example",
- 'package' => "html.layouts",
+ 'package' => "html.layouts"
),
'load' => array(
array(
'id' => 'mooboo',
'name' => "OtherWorld",
'package' => "hello_world",
- 'load_order' => "3"
+ 'load_order' => "3",
+ 'cache' => array(
+ 'expires' => '30',
+ 'var' => 'moo',
+ 'use_uri' => true
+ ),
),
array(
'id' => 'some_other_unique_name',
@@ -64,7 +65,7 @@
'load_order' => "1",
'params' => array (
'example' => "this is an option value",
- 'another' => 1
+ 'another' => '1'
),
),
array(
@@ -85,7 +86,8 @@
),
),
- 'left' => array(
+ array(
+ 'id' => 'left',
'load' => array(
array(
'name' => "HelloWorld",
@@ -116,7 +118,7 @@
//$Debug->Output('user_constants');
//$Debug->Output('vars');
//$Debug->Output('server_env');
-//$Debug->Output('globals');
+$Debug->Output('globals');
//$Debug->Output('all');
?>
|