Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
tests /
parser /
Delete
Unzip
Name
Size
Permission
Date
Action
preprocess
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
DbTestPreviewer.php
6.2
KB
-rw-r--r--
2016-11-28 20:20
DbTestRecorder.php
2.28
KB
-rw-r--r--
2016-11-28 20:20
DjVuSupport.php
1.71
KB
-rw-r--r--
2016-11-28 20:20
MultiTestRecorder.php
1.26
KB
-rw-r--r--
2016-11-28 20:20
ParserTestParserHook.php
2.14
KB
-rw-r--r--
2016-11-28 20:20
ParserTestPrinter.php
8.26
KB
-rw-r--r--
2016-11-28 20:20
ParserTestResult.php
890
B
-rw-r--r--
2016-11-28 20:20
ParserTestResultNormalizer.php
2.49
KB
-rw-r--r--
2016-11-28 20:20
ParserTestRunner.php
46.14
KB
-rw-r--r--
2016-11-28 20:20
PhpunitTestRecorder.php
325
B
-rw-r--r--
2016-11-28 20:20
README
362
B
-rw-r--r--
2016-11-28 20:20
TestFileReader.php
8.35
KB
-rw-r--r--
2016-11-28 20:20
TestRecorder.php
2.19
KB
-rw-r--r--
2016-11-28 20:20
TidySupport.php
2.58
KB
-rw-r--r--
2016-11-28 20:20
extraParserTests.txt
1.21
KB
-rw-r--r--
2016-11-28 20:20
fuzzTest.php
4.91
KB
-rw-r--r--
2016-11-28 20:20
parserTest.inc
33.83
KB
-rw-r--r--
2012-01-03 18:02
parserTests.php
6.98
KB
-rw-r--r--
2016-11-28 20:20
parserTests.txt
762.31
KB
-rw-r--r--
2016-11-28 20:20
parserTestsParserHook.php
1.32
KB
-rw-r--r--
2011-02-09 18:36
parserTestsStaticParserHook.php
1.9
KB
-rw-r--r--
2011-06-17 18:05
Save
Rename
<?php /** * 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 2 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, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup Testing */ /** * Initialize and detect the tidy support */ class TidySupport { private $enabled; private $config; /** * Determine if there is a usable tidy. */ public function __construct( $useConfiguration = false ) { global $IP, $wgUseTidy, $wgTidyBin, $wgTidyInternal, $wgTidyConfig, $wgTidyConf, $wgTidyOpts; $this->enabled = true; if ( $useConfiguration ) { if ( $wgTidyConfig !== null ) { $this->config = $wgTidyConfig; } elseif ( $wgUseTidy ) { $this->config = [ 'tidyConfigFile' => $wgTidyConf, 'debugComment' => false, 'tidyBin' => $wgTidyBin, 'tidyCommandLine' => $wgTidyOpts ]; if ( $wgTidyInternal ) { $this->config['driver'] = wfIsHHVM() ? 'RaggettInternalHHVM' : 'RaggettInternalPHP'; } else { $this->config['driver'] = 'RaggettExternal'; } } else { $this->enabled = false; } } else { $this->config = [ 'tidyConfigFile' => "$IP/includes/tidy/tidy.conf", 'tidyCommandLine' => '', ]; if ( extension_loaded( 'tidy' ) && class_exists( 'tidy' ) ) { $this->config['driver'] = wfIsHHVM() ? 'RaggettInternalHHVM' : 'RaggettInternalPHP'; } else { if ( is_executable( $wgTidyBin ) ) { $this->config['driver'] = 'RaggettExternal'; $this->config['tidyBin'] = $wgTidyBin; } else { $path = Installer::locateExecutableInDefaultPaths( $wgTidyBin ); if ( $path !== false ) { $this->config['driver'] = 'RaggettExternal'; $this->config['tidyBin'] = $wgTidyBin; } else { $this->enabled = false; } } } } if ( !$this->enabled ) { $this->config = [ 'driver' => 'disabled' ]; } } /** * Returns true if tidy is usable * * @return bool */ public function isEnabled() { return $this->enabled; } public function getConfig() { return $this->config; } }