[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpwebhosting/inc class.uiphpwebhosting.inc.php,
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpwebhosting/inc class.uiphpwebhosting.inc.php,1.6,1.7 |
Date: |
Wed, 13 Feb 2002 21:16:17 -0500 |
Update of /cvsroot/phpgroupware/phpwebhosting/inc
In directory subversions:/tmp/cvs-serv19826/phpwebhosting/inc
Modified Files:
class.uiphpwebhosting.inc.php
Log Message:
GNU Patch #132 - User friendly warnings for unsuccessful mkdir().
Index: class.uiphpwebhosting.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/phpwebhosting/inc/class.uiphpwebhosting.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.uiphpwebhosting.inc.php 27 Dec 2001 15:22:51 -0000 1.6
--- class.uiphpwebhosting.inc.php 14 Feb 2002 02:16:14 -0000 1.7
***************
*** 1,3 ****
--- 1,23 ----
<?php
+ /**************************************************************************\
+ * phpGroupWare *
+ * This file written by Mark A Peters (Skeeter) <address@hidden> *
+ * This class user interface for the phpwebhosting app *
+ * Copyright (C) 2002 Mark A Peters *
+ * -------------------------------------------------------------------------*
+ * This library is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as published by *
+ * the Free Software Foundation; either version 2.1 of the License, *
+ * or any later version. *
+ * This library is distributed in the hope that it will be useful, but *
+ * WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+ * See the GNU Lesser General Public License for more details. *
+ * You should have received a copy of the GNU Lesser General Public License *
+ * along with this library; if not, write to the Free Software Foundation, *
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+ \**************************************************************************/
+
+ /* $Id$ */
class uiphpwebhosting
***************
*** 105,109 ****
{
//$this->bo->vfs->override_acl = 1;
!
$this->bo->vfs->mkdir($this->bo->homedir,Array(RELATIVE_NONE));
//$this->bo->vfs->override_acl = 0;
}
--- 125,132 ----
{
//$this->bo->vfs->override_acl = 1;
! if
(!$this->bo->vfs->mkdir($this->bo->homedir,Array(RELATIVE_NONE)))
! {
! echo lang('failed to create directory')
. ' <b>'. $this->bo->homedir . '</b><br><br>';
! }
//$this->bo->vfs->override_acl = 0;
}
***************
*** 113,117 ****
{
//$this->bo->vfs->override_acl = 1;
!
$this->bo->vfs->mkdir($this->bo->path,Array(RELATIVE_NONE));
//$this->bo->vfs->override_acl = 0;
--- 136,143 ----
{
//$this->bo->vfs->override_acl = 1;
! if
(!$this->bo->vfs->mkdir($this->bo->homedir,Array(RELATIVE_NONE)))
! {
! echo lang('failed to create
directory') . ' <b>'. $this->bo->homedir . '</b><br><br>';
! }
//$this->bo->vfs->override_acl = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpwebhosting/inc class.uiphpwebhosting.inc.php,1.6,1.7,
Mark A Peters <address@hidden> <=