Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @session_start();
- error_reporting(E_ALL);
- /**
- * @author ProFusion Group
- * @copyright pro-fusion.ch
- */
- if (file_exists('Install/install.pbb')) {
- require_once('Install/config.inc.php');
- $File = @fopen('PBF/config.inc.php', 'a+');
- @fwrite($File, '<?php
- @session_start();
- /**
- * @author ProFusion Group
- * @copyright pro-fusion.ch
- */
- $DBUser = \''.$DBUser.'\';
- $DBPass = \''.$DBPass.'\';
- $DBBase = \''.$DBBase.'\';
- $DBHost = \''.$DBHost.'\';
- $DBPrefix = \''.$prefix.'\';
- $UsePConnect = false;
- ?>');
- @fclose($File);
- @unlink('index.php');
- unset($File);
- $File = @fopen('index.php', 'a+');
- @fwrite('<?php
- @session_start();
- /**
- * @author ProFusion Group
- * @copyright pro-fusion.ch
- */
- require_once(\'./global.php\');
- RequestHandler::HandleRequest();
- ?>', $File);
- @fclose($File);
- header('Location: index.php');
- }
- require_once('./global.php');
- //if you have some to fixx ->
- /*
- if (isset($_GET['Admin'])) $_SESSION['Admin'] = true;
- if (!isset($_SESSION['Admin']) && empty($_SESSION['Admin'])) {
- throw new SystemException('Wegen Sicherheitsumbauten ist das Forum für kurze Zeit nicht verfügbar.');
- }
- */
- //if you have some to fixx <-
- RequestHandler::HandleRequest();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement