[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.ph
From: |
Jason Wies <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8 |
Date: |
Sat, 09 Feb 2002 23:17:21 -0500 |
Update of /cvsroot/phpgroupware/phpwebhosting
In directory subversions:/tmp/cvs-serv27600
Modified Files:
index.php preferences.php test.php
Log Message:
PHP3 fixes
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpwebhosting/index.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** index.php 16 Jan 2002 06:32:19 -0000 1.31
--- index.php 10 Feb 2002 04:17:18 -0000 1.32
***************
*** 8,12 ****
@reset ($GLOBALS['HTTP_POST_VARS']);
! while (list ($name,) = each ($GLOBALS['HTTP_POST_VARS']))
{
$$name = $GLOBALS['HTTP_POST_VARS'][$name];
--- 8,12 ----
@reset ($GLOBALS['HTTP_POST_VARS']);
! while (list ($name,) = @each ($GLOBALS['HTTP_POST_VARS']))
{
$$name = $GLOBALS['HTTP_POST_VARS'][$name];
***************
*** 14,18 ****
@reset ($GLOBALS['HTTP_GET_VARS']);
! while (list ($name,) = each ($GLOBALS['HTTP_GET_VARS']))
{
$$name = $GLOBALS['HTTP_GET_VARS'][$name];
--- 14,18 ----
@reset ($GLOBALS['HTTP_GET_VARS']);
! while (list ($name,) = @each ($GLOBALS['HTTP_GET_VARS']))
{
$$name = $GLOBALS['HTTP_GET_VARS'][$name];
***************
*** 236,240 ****
{
$GLOBALS['phpgw']->vfs->override_acl = 1;
! $GLOBALS['phpgw']->vfs->mkdir (array ('string' => $GLOBALS['homedir'],
'relatives' => array (RELATIVE_NONE)));
$GLOBALS['phpgw']->vfs->override_acl = 0;
}
--- 236,246 ----
{
$GLOBALS['phpgw']->vfs->override_acl = 1;
!
! if (!$GLOBALS['phpgw']->vfs->mkdir (array ('string' =>
$GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE))))
! {
! $p = $phpgw->vfs->path_parts (array ('string' =>
$GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE)));
! echo $GLOBALS['phpgw']->common->error_list (array ('Could not
create directory ' . $GLOBALS['homedir'] . ' (' . $p->real_full_path . ')'));
! }
!
$GLOBALS['phpgw']->vfs->override_acl = 0;
}
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpwebhosting/preferences.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** preferences.php 28 Aug 2001 07:50:53 -0000 1.6
--- preferences.php 10 Feb 2002 04:17:19 -0000 1.7
***************
*** 82,86 ****
'pref' => 'pref.tpl',
'pref_colspan' => 'pref_colspan.tpl',
! 'pref_list' => 'pref_list.tpl',
);
$p->set_file ($templates);
--- 82,86 ----
'pref' => 'pref.tpl',
'pref_colspan' => 'pref_colspan.tpl',
! 'pref_list' => 'pref_list.tpl'
);
$p->set_file ($templates);
Index: test.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpwebhosting/test.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** test.php 16 Jan 2002 06:32:19 -0000 1.7
--- test.php 10 Feb 2002 04:17:19 -0000 1.8
***************
*** 10,14 ****
/*
General format for output is:
! function - current directory - input[...] - what output should be -
what output was
*/
--- 10,14 ----
/*
General format for output is:
! sequence number - function - current directory - input[...] - what
output should be - what output was
*/
***************
*** 29,34 ****
$sequence_num = 1;
$phpgw->vfs->cd ();
- //$phpgw->common->phpgw_footer ();
- //$phpgw->common->phpgw_exit ();
$io = array ("" => "$homedir", "dir" => "$homedir/dir", "dir/file" =>
"$homedir/dir/file", "dir/dir2" => "$homedir/dir/dir2", "dir/dir2/file" =>
"$homedir/dir/dir2/file", "address@hidden&*()-_=+/|[{]};:'\",<.>?" =>
"$homedir/address@hidden&*()-_=+/|[{]};:'\",<.>?");
--- 29,32 ----
***************
*** 81,85 ****
$cd = "";
$phpgw->vfs->cd (array(
! 'string' => $cd,
)
);
--- 79,83 ----
$cd = "";
$phpgw->vfs->cd (array(
! 'string' => $cd
)
);
***************
*** 102,106 ****
'string' => $cd,
'relative' => False,
! 'relatives' => array (RELATIVE_NONE),
)
);
--- 100,104 ----
'string' => $cd,
'relative' => False,
! 'relatives' => array (RELATIVE_NONE)
)
);
***************
*** 122,126 ****
'string' => $cd,
'relative' => False,
! 'relatives' => array (RELATIVE_NONE),
)
);
--- 120,124 ----
'string' => $cd,
'relative' => False,
! 'relatives' => array (RELATIVE_NONE)
)
);
***************
*** 271,274 ****
--- 269,274 ----
# end of path_parts tests
###
+
+ $phpgw->vfs->cd ();
html_break (2);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpwebhosting index.php,1.31,1.32 preferences.php,1.6,1.7 test.php,1.7,1.8,
Jason Wies <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpwebhosting/inc html.inc.php,1.13,1.14 main.inc.php,1.14,1.15
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.16,1.17
- Previous by thread:
[Phpgroupware-cvs] CVS: phpwebhosting/inc html.inc.php,1.13,1.14 main.inc.php,1.14,1.15
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.vfs_sql.inc.php,1.16,1.17
- Index(es):