Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../paste
File: config.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* $ID Project: Paste 2.0 - J.Samuel
[2] Fix | Delete
*
[3] Fix | Delete
* This program is free software; you can redistribute it and/or
[4] Fix | Delete
* modify it under the terms of the GNU General Public License
[5] Fix | Delete
* as published by the Free Software Foundation; either version 3
[6] Fix | Delete
* of the License, or (at your option) any later version.
[7] Fix | Delete
*
[8] Fix | Delete
* This program is distributed in the hope that it will be useful,
[9] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[11] Fix | Delete
* GNU General Public License in LIC.txt for more details.
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
$currentversion = 2.2;
[15] Fix | Delete
[16] Fix | Delete
// Max paste size in MB. This value should always be below the value of
[17] Fix | Delete
// post_max_size in your PHP configuration settings (php.ini) or empty errors will occur.
[18] Fix | Delete
// The value we got on installation of Paste was: post_max_size = 8M
[19] Fix | Delete
// Otherwise, the maximum value that can be set is 4000 (4GB)
[20] Fix | Delete
$pastelimit = "0.5"; // 0.5 = 512 kilobytes, 1 = 1MB
[21] Fix | Delete
[22] Fix | Delete
// OAUTH (to enable, change to yes and edit)
[23] Fix | Delete
$enablefb = "no";
[24] Fix | Delete
$enablegoog = "no";
[25] Fix | Delete
[26] Fix | Delete
// "CHANGE THIS" = Replace with your details
[27] Fix | Delete
// Facebook
[28] Fix | Delete
define('FB_APP_ID', 'CHANGE THIS'); // Your application ID, see https://developers.facebook.com/docs/apps/register
[29] Fix | Delete
define('FB_APP_SECRET', 'CHANGE THIS'); // What's your Secret key
[30] Fix | Delete
[31] Fix | Delete
// Google
[32] Fix | Delete
define('G_Client_ID', 'CHANGE THIS'); // Get a Client ID from https://console.developers.google.com/projectselector/apis/library
[33] Fix | Delete
define('G_Client_Secret', 'CHANGE THIS'); // What's your Secret key
[34] Fix | Delete
define('G_Redirect_Uri', '[[softurl]]/oauth/google.php'); // Leave this as is
[35] Fix | Delete
define('G_Application_Name', 'Paste'); // Make sure this matches the name of your application
[36] Fix | Delete
[37] Fix | Delete
// Database information
[38] Fix | Delete
$dbhost = "[[softdbhost]]";
[39] Fix | Delete
$dbuser = "[[softdbuser]]";
[40] Fix | Delete
$dbpassword = "[[softdbpass]]";
[41] Fix | Delete
$dbname = "[[softdb]]";
[42] Fix | Delete
[43] Fix | Delete
// Secret key for paste encryption
[44] Fix | Delete
$sec_key = "[[sec_key]]";
[45] Fix | Delete
define('SECRET',md5($sec_key));
[46] Fix | Delete
[47] Fix | Delete
// Set to 1 to enable Apache's mod_rewrite
[48] Fix | Delete
$mod_rewrite = "0";
[49] Fix | Delete
[50] Fix | Delete
// Available GeSHi formats
[51] Fix | Delete
$geshiformats =array(
[52] Fix | Delete
'4cs' => 'GADV 4CS',
[53] Fix | Delete
'6502acme' => 'ACME Cross Assembler',
[54] Fix | Delete
'6502kickass' => 'Kick Assembler',
[55] Fix | Delete
'6502tasm' => 'TASM/64TASS 1.46',
[56] Fix | Delete
'68000devpac' => 'HiSoft Devpac ST 2',
[57] Fix | Delete
'abap' => 'ABAP',
[58] Fix | Delete
'actionscript' => 'ActionScript',
[59] Fix | Delete
'actionscript3' => 'ActionScript 3',
[60] Fix | Delete
'ada' => 'Ada',
[61] Fix | Delete
'aimms' => 'AIMMS3',
[62] Fix | Delete
'algol68' => 'ALGOL 68',
[63] Fix | Delete
'apache' => 'Apache',
[64] Fix | Delete
'applescript' => 'AppleScript',
[65] Fix | Delete
'arm' => 'ARM Assembler',
[66] Fix | Delete
'asm' => 'ASM',
[67] Fix | Delete
'asp' => 'ASP',
[68] Fix | Delete
'asymptote' => 'Asymptote',
[69] Fix | Delete
'autoconf' => 'Autoconf',
[70] Fix | Delete
'autohotkey' => 'Autohotkey',
[71] Fix | Delete
'autoit' => 'AutoIt',
[72] Fix | Delete
'avisynth' => 'AviSynth',
[73] Fix | Delete
'awk' => 'Awk',
[74] Fix | Delete
'bascomavr' => 'BASCOM AVR',
[75] Fix | Delete
'bash' => 'BASH',
[76] Fix | Delete
'basic4gl' => 'Basic4GL',
[77] Fix | Delete
'bf' => 'Brainfuck',
[78] Fix | Delete
'bibtex' => 'BibTeX',
[79] Fix | Delete
'blitzbasic' => 'BlitzBasic',
[80] Fix | Delete
'bnf' => 'BNF',
[81] Fix | Delete
'boo' => 'Boo',
[82] Fix | Delete
'c' => 'C',
[83] Fix | Delete
'c_loadrunner' => 'C (LoadRunner)',
[84] Fix | Delete
'c_mac' => 'C for Macs',
[85] Fix | Delete
'c_winapi' => 'C (WinAPI)',
[86] Fix | Delete
'caddcl' => 'CAD DCL',
[87] Fix | Delete
'cadlisp' => 'CAD Lisp',
[88] Fix | Delete
'cfdg' => 'CFDG',
[89] Fix | Delete
'cfm' => 'ColdFusion',
[90] Fix | Delete
'chaiscript' => 'ChaiScript',
[91] Fix | Delete
'chapel' => 'Chapel',
[92] Fix | Delete
'cil' => 'CIL',
[93] Fix | Delete
'clojure' => 'Clojure',
[94] Fix | Delete
'cmake' => 'CMake',
[95] Fix | Delete
'cobol' => 'COBOL',
[96] Fix | Delete
'coffeescript' => 'CoffeeScript',
[97] Fix | Delete
'cpp' => 'C++',
[98] Fix | Delete
'cpp-qt' => 'C++ (with QT extensions)',
[99] Fix | Delete
'cpp-winapi' => 'C++ (WinAPI)',
[100] Fix | Delete
'csharp' => 'C#',
[101] Fix | Delete
'css' => 'CSS',
[102] Fix | Delete
'cuesheet' => 'Cuesheet',
[103] Fix | Delete
'd' => 'D',
[104] Fix | Delete
'dcl' => 'DCL',
[105] Fix | Delete
'dcpu16' => 'DCPU-16 Assembly',
[106] Fix | Delete
'dcs' => 'DCS',
[107] Fix | Delete
'delphi' => 'Delphi',
[108] Fix | Delete
'diff' => 'Diff-output',
[109] Fix | Delete
'div' => 'DIV',
[110] Fix | Delete
'dos' => 'DOS',
[111] Fix | Delete
'dot' => 'dot',
[112] Fix | Delete
'e' => 'E',
[113] Fix | Delete
'ecmascript' => 'ECMAScript',
[114] Fix | Delete
'eiffel' => 'Eiffel',
[115] Fix | Delete
'email' => 'eMail (mbox)',
[116] Fix | Delete
'epc' => 'EPC',
[117] Fix | Delete
'erlang' => 'Erlang',
[118] Fix | Delete
'euphoria' => 'Euphoria',
[119] Fix | Delete
'ezt' => 'EZT',
[120] Fix | Delete
'f1' => 'Formula One',
[121] Fix | Delete
'falcon' => 'Falcon',
[122] Fix | Delete
'fo' => 'FO (abas-ERP)',
[123] Fix | Delete
'fortran' => 'Fortran',
[124] Fix | Delete
'freebasic' => 'FreeBasic',
[125] Fix | Delete
'fsharp' => 'F#',
[126] Fix | Delete
'gambas' => 'GAMBAS',
[127] Fix | Delete
'gdb' => 'GDB',
[128] Fix | Delete
'genero' => 'Genero',
[129] Fix | Delete
'genie' => 'Genie',
[130] Fix | Delete
'gettext' => 'GNU Gettext',
[131] Fix | Delete
'glsl' => 'glSlang',
[132] Fix | Delete
'gml' => 'GML',
[133] Fix | Delete
'gnuplot' => 'GNUPlot',
[134] Fix | Delete
'go' => 'Go',
[135] Fix | Delete
'groovy' => 'Groovy',
[136] Fix | Delete
'gwbasic' => 'GwBasic',
[137] Fix | Delete
'haskell' => 'Haskell',
[138] Fix | Delete
'haxe' => 'Haxe',
[139] Fix | Delete
'hicest' => 'HicEst',
[140] Fix | Delete
'hq9plus' => 'HQ9+',
[141] Fix | Delete
'html4strict' => 'HTML 4.01',
[142] Fix | Delete
'html5' => 'HTML 5',
[143] Fix | Delete
'icon' => 'Icon',
[144] Fix | Delete
'idl' => 'Uno Idl',
[145] Fix | Delete
'ini' => 'INI',
[146] Fix | Delete
'inno' => 'Inno Script',
[147] Fix | Delete
'intercal' => 'INTERCAL',
[148] Fix | Delete
'io' => 'IO',
[149] Fix | Delete
'ispfpanel' => 'ISPF Panel',
[150] Fix | Delete
'j' => 'J',
[151] Fix | Delete
'java' => 'Java',
[152] Fix | Delete
'java5' => 'Java 5',
[153] Fix | Delete
'javascript' => 'JavaScript',
[154] Fix | Delete
'jcl' => 'JCL',
[155] Fix | Delete
'jquery' => 'jQuery',
[156] Fix | Delete
'kixtart' => 'KiXtart',
[157] Fix | Delete
'klonec' => 'KLone C',
[158] Fix | Delete
'klonecpp' => 'KLone C++',
[159] Fix | Delete
'latex' => 'LaTeX',
[160] Fix | Delete
'lb' => 'Liberty BASIC',
[161] Fix | Delete
'ldif' => 'LDIF',
[162] Fix | Delete
'lisp' => 'Lisp',
[163] Fix | Delete
'llvm' => 'LLVM',
[164] Fix | Delete
'locobasic' => 'Locomotive Basic',
[165] Fix | Delete
'logtalk' => 'Logtalk',
[166] Fix | Delete
'lolcode' => 'LOLcode',
[167] Fix | Delete
'lotusformulas' => 'Lotus Notes @Formulas',
[168] Fix | Delete
'lotusscript' => 'LotusScript',
[169] Fix | Delete
'lscript' => 'Lightwave Script',
[170] Fix | Delete
'lsl2' => 'Linden Script',
[171] Fix | Delete
'lua' => 'LUA',
[172] Fix | Delete
'm68k' => 'Motorola 68000 Assembler',
[173] Fix | Delete
'magiksf' => 'MagikSF',
[174] Fix | Delete
'make' => 'GNU make',
[175] Fix | Delete
'mapbasic' => 'MapBasic',
[176] Fix | Delete
'markdown' => 'Markdown',
[177] Fix | Delete
'matlab' => 'Matlab M',
[178] Fix | Delete
'mirc' => 'mIRC Scripting',
[179] Fix | Delete
'mmix' => 'MMIX',
[180] Fix | Delete
'modula2' => 'Modula-2',
[181] Fix | Delete
'modula3' => 'Modula-3',
[182] Fix | Delete
'mpasm' => 'Microchip Assembler',
[183] Fix | Delete
'mxml' => 'MXML',
[184] Fix | Delete
'mysql' => 'MySQL',
[185] Fix | Delete
'nagios' => 'Nagios',
[186] Fix | Delete
'netrexx' => 'NetRexx',
[187] Fix | Delete
'newlisp' => 'NewLisp',
[188] Fix | Delete
'nginx' => 'Nginx',
[189] Fix | Delete
'nsis' => 'NSIS',
[190] Fix | Delete
'oberon2' => 'Oberon-2',
[191] Fix | Delete
'objc' => 'Objective-C',
[192] Fix | Delete
'objeck' => 'Objeck',
[193] Fix | Delete
'ocaml' => 'Ocaml',
[194] Fix | Delete
'ocaml-brief' => 'OCaml (Brief)',
[195] Fix | Delete
'octave' => 'GNU/Octave',
[196] Fix | Delete
'oobas' => 'OpenOffice.org Basic',
[197] Fix | Delete
'oorexx' => 'ooRexx',
[198] Fix | Delete
'oracle11' => 'Oracle 11 SQL',
[199] Fix | Delete
'oracle8' => 'Oracle 8 SQL',
[200] Fix | Delete
'oxygene' => 'Oxygene (Delphi Prism)',
[201] Fix | Delete
'oz' => 'OZ',
[202] Fix | Delete
'parasail' => 'ParaSail',
[203] Fix | Delete
'parigp' => 'PARI/GP',
[204] Fix | Delete
'pascal' => 'Pascal',
[205] Fix | Delete
'pcre' => 'PCRE',
[206] Fix | Delete
'per' => 'Per (forms)',
[207] Fix | Delete
'perl' => 'Perl',
[208] Fix | Delete
'perl6' => 'Perl 6',
[209] Fix | Delete
'pf' => 'OpenBSD Packet Filter',
[210] Fix | Delete
'php' => 'PHP',
[211] Fix | Delete
'php-brief' => 'PHP (Brief)',
[212] Fix | Delete
'pic16' => 'PIC16 Assembler',
[213] Fix | Delete
'pike' => 'Pike',
[214] Fix | Delete
'pixelbender' => 'Pixel Bender',
[215] Fix | Delete
'pli' => 'PL/I',
[216] Fix | Delete
'plsql' => 'PL/SQL',
[217] Fix | Delete
'postgresql' => 'PostgreSQL',
[218] Fix | Delete
'povray' => 'POVRAY',
[219] Fix | Delete
'powerbuilder' => 'PowerBuilder',
[220] Fix | Delete
'powershell' => 'PowerShell',
[221] Fix | Delete
'proftpd' => 'ProFTPd config',
[222] Fix | Delete
'progress' => 'Progress',
[223] Fix | Delete
'prolog' => 'Prolog',
[224] Fix | Delete
'properties' => 'Properties',
[225] Fix | Delete
'providex' => 'ProvideX',
[226] Fix | Delete
'purebasic' => 'PureBasic',
[227] Fix | Delete
'pycon' => 'Python (console mode)',
[228] Fix | Delete
'pys60' => 'Python for S60',
[229] Fix | Delete
'python' => 'Python',
[230] Fix | Delete
'qbasic' => 'QuickBASIC',
[231] Fix | Delete
'racket' => 'Racket',
[232] Fix | Delete
'rails' => 'Ruby on Rails',
[233] Fix | Delete
'rbs' => 'RBScript',
[234] Fix | Delete
'rebol' => 'REBOL',
[235] Fix | Delete
'reg' => 'Microsoft REGEDIT',
[236] Fix | Delete
'rexx' => 'Rexx',
[237] Fix | Delete
'robots' => 'robots.txt',
[238] Fix | Delete
'rpmspec' => 'RPM Specification File',
[239] Fix | Delete
'rsplus' => 'R / S+',
[240] Fix | Delete
'ruby' => 'Ruby',
[241] Fix | Delete
'sas' => 'SAS',
[242] Fix | Delete
'scala' => 'Scala',
[243] Fix | Delete
'scheme' => 'Scheme',
[244] Fix | Delete
'scilab' => 'SciLab',
[245] Fix | Delete
'scl' => 'SCL',
[246] Fix | Delete
'sdlbasic' => 'sdlBasic',
[247] Fix | Delete
'smalltalk' => 'Smalltalk',
[248] Fix | Delete
'smarty' => 'Smarty',
[249] Fix | Delete
'spark' => 'SPARK',
[250] Fix | Delete
'sparql' => 'SPARQL',
[251] Fix | Delete
'sql' => 'SQL',
[252] Fix | Delete
'stonescript' => 'StoneScript',
[253] Fix | Delete
'systemverilog' => 'SystemVerilog',
[254] Fix | Delete
'tcl' => 'TCL',
[255] Fix | Delete
'teraterm' => 'Tera Term Macro',
[256] Fix | Delete
'text' => 'Plain Text',
[257] Fix | Delete
'thinbasic' => 'thinBasic',
[258] Fix | Delete
'tsql' => 'T-SQL',
[259] Fix | Delete
'typoscript' => 'TypoScript',
[260] Fix | Delete
'unicon' => 'Unicon',
[261] Fix | Delete
'upc' => 'UPC',
[262] Fix | Delete
'urbi' => 'Urbi',
[263] Fix | Delete
'unrealscript' => 'Unreal Script',
[264] Fix | Delete
'vala' => 'Vala',
[265] Fix | Delete
'vb' => 'Visual Basic',
[266] Fix | Delete
'vbnet' => 'VB.NET',
[267] Fix | Delete
'vbscript' => 'VB Script',
[268] Fix | Delete
'vedit' => 'Vedit Macro',
[269] Fix | Delete
'verilog' => 'Verilog',
[270] Fix | Delete
'vhdl' => 'VHDL',
[271] Fix | Delete
'vim' => 'Vim',
[272] Fix | Delete
'visualfoxpro' => 'Visual FoxPro',
[273] Fix | Delete
'visualprolog' => 'Visual Prolog',
[274] Fix | Delete
'whitespace' => 'Whitespace',
[275] Fix | Delete
'whois' => 'WHOIS (RPSL format)',
[276] Fix | Delete
'winbatch' => 'WinBatch',
[277] Fix | Delete
'xbasic' => 'XBasic',
[278] Fix | Delete
'xml' => 'XML',
[279] Fix | Delete
'xorg_conf' => 'Xorg Config',
[280] Fix | Delete
'xpp' => 'X++',
[281] Fix | Delete
'yaml' => 'YAML',
[282] Fix | Delete
'z80' => 'ZiLOG Z80 Assembler',
[283] Fix | Delete
'zxbasic' => 'ZXBasic'
[284] Fix | Delete
);
[285] Fix | Delete
[286] Fix | Delete
// Popular formats that are listed first.
[287] Fix | Delete
$popular_formats=array(
[288] Fix | Delete
'text',
[289] Fix | Delete
'html4strict',
[290] Fix | Delete
'html5',
[291] Fix | Delete
'css',
[292] Fix | Delete
'javascript',
[293] Fix | Delete
'php',
[294] Fix | Delete
'perl',
[295] Fix | Delete
'python',
[296] Fix | Delete
'postgresql',
[297] Fix | Delete
'sql',
[298] Fix | Delete
'xml',
[299] Fix | Delete
'java',
[300] Fix | Delete
'c',
[301] Fix | Delete
'csharp',
[302] Fix | Delete
'cpp',
[303] Fix | Delete
'markdown'
[304] Fix | Delete
);
[305] Fix | Delete
?>
[306] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function