Browse Source

Update Documentation intro; remove 1 unused file

pull/1/head
falkTX 11 years ago
parent
commit
48cfac04e7
2 changed files with 8 additions and 34 deletions
  1. +8
    -2
      Documentation.php
  2. +0
    -32
      paste/__

+ 8
- 2
Documentation.php View File

@@ -7,9 +7,15 @@ include_once("includes/header.php");
?>

<p>
If you're looking for help regarding an Ubuntu feature, please search within the
If you're looking for help regarding an <b>Ubuntu</b> feature, please search within the
<a href="http://ubuntuforums.org/" class="external text" rel="nofollow">Ubuntu Forums</a>.<br/>
You can also use IRC, channel #kxstudio, server irc.freenode.net (or irc.freenode.com).
For general <b>Linux Audio</b> help, use the
<a href="http://linuxmusicians.com/" class="external text" rel="nofollow">LinuxMusicians Forums</a> or
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user/" class="external text" rel="nofollow">LinuxAudio Mailing List</a>.<br/>
You can also use <b>IRC</b> on irc.freenode.net (or .com) server, channel
<a href="https://webchat.freenode.net/?channels=#kxstudio" class="external text" rel="nofollow">#kxstudio</a>,
<a href="https://webchat.freenode.net/?channels=#opensourcemusicians" class="external text" rel="nofollow">#opensourcemusicians</a> or
<a href="https://webchat.freenode.net/?channels=#kxstudio,#opensourcemusicians" class="external text" rel="nofollow">both</a>.<br/>
</p>
<p>
Please note that documentation for KXStudio is a work in progress, if you need some information not available here, you can try:


+ 0
- 32
paste/__ View File

@@ -1,32 +0,0 @@
<?php

function downloadFile($dlFile, $dlSize) {
// Must be fresh start
if (headers_sent())
die('Headers Sent');

// Required for some browsers
if (ini_get('zlib.output_compression'))
ini_set('zlib.output_compression', 'Off');

header("Pragma: public"); // required
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private", false); // required for certain browsers
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=\"" . basename($dlFile) . "\";" );
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . $dlSize);
ob_clean();
// flush();
readfile($dlFile);
}

if (! (empty($_GET["file"]) || empty($_GET["size"]))) {
$dlFile = htmlspecialchars($_GET["file"]);
$dlSize = htmlspecialchars($_GET["size"]);

downloadFile($dlFile, $dlSize);
}

?>

Loading…
Cancel
Save