PHPunit
This commit is contained in:
parent
38f52e6a98
commit
7c0cada014
|
@ -230,7 +230,7 @@ function deleteConfigProfile($name) {
|
|||
}
|
||||
}
|
||||
// delete config file
|
||||
$confFile = $dir . $_POST['delfilename'] . ".conf";
|
||||
$confFile = $dir . $name . ".conf";
|
||||
if (!@unlink($confFile)) {
|
||||
logNewMessage(LOG_ERR, 'Unable to delete ' . $confFile);
|
||||
return _("Unable to delete profile!");
|
||||
|
@ -386,7 +386,7 @@ class LAMLanguage {
|
|||
}
|
||||
|
||||
/**
|
||||
* This class manages .conf files.
|
||||
* This class manages conf files.
|
||||
*
|
||||
* @package configuration
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
|
@ -19,7 +20,6 @@ $Id$
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
<?php
|
||||
|
||||
include_once (dirname ( __FILE__ ) . '/../../../lib/baseModule.inc');
|
||||
include_once (dirname ( __FILE__ ) . '/../../../lib/modules/sudoRole.inc');
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
|
@ -19,7 +20,6 @@ $Id$
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
<?php
|
||||
|
||||
$_SERVER ['REMOTE_ADDR'] = '127.0.0.1';
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
|
@ -19,7 +20,6 @@ $Id$
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
<?php
|
||||
|
||||
include_once (dirname(__FILE__) . '/../../lib/config.inc');
|
||||
|
||||
|
|
Loading…
Reference in New Issue