Browse Source

Merge pull request #26 from Teknikode/master

Develop catch-up
development
Anosh Malik 4 years ago
parent
commit
3f1f1205cd
4 changed files with 6 additions and 6 deletions
  1. 1
    1
      about/main.php
  2. 2
    2
      paste/main.php
  3. 1
    1
      upload/main.php
  4. 2
    2
      upload/web.config

+ 1
- 1
about/main.php View File

@@ -59,7 +59,7 @@
<h2 class="text-center">How can I help?</h2>
<hr>
<p>
Teknik hosts an open <a href="<?php echo get_page_url("git", $CONF); ?>">Git Repository</a> for all our internal tools projects. This is open to all registered users so feel free to add to it!
Teknik's source code can be located on our <a href="https://github.com/Teknikode/">Github Repository</a> as well as all our internal tools and projects.
<br />
<br />
Have a cool suggestion for the site? Just submit it using the <a href="<?php echo get_page_url("contact", $CONF); ?>">Feedback Form</a>!

+ 2
- 2
paste/main.php View File

@@ -226,5 +226,5 @@ if (!(isset($pass) && (sha1($postPass) !== $pass)) || $pass == "EMPTY") {?>
<?php } ?>

<p class="text-center">
Tools: <a href="<?php echo get_page_url('git', $CONF); ?>/Tools.git/blob/master/Paste/paste.sh">Bash Paste Script</a>
</p>
Tools: <a href="https://github.com/Teknikode/Tools/tree/master/Paste">Paste Scripts and Utilities</a>
</p>

+ 1
- 1
upload/main.php View File

@@ -36,7 +36,7 @@
<br />
<div class="well text-center">Each file is encrypted on upload using an AES-256-CBC cipher. If you wish to view the file decrypted, you must use the direct Teknik link.</div>
<div class="text-center">
Useful Tools: <a href="<?php echo get_page_url('git', $CONF); ?>/Tools.git/blob/master/Upload/upload.sh">Bash Upload Script</a> | <a href="https://github.com/jschx/poomf">Poomf Uploader</a>
Useful Tools: <a href="https://github.com/Teknikode/Tools/tree/master/Upload">Upload Scripts and Utilities</a> | <a href="https://github.com/jschx/poomf">Poomf Uploader</a>
<br />
<br />
You can now upload your screenshots automatically using <a href="https://github.com/KittyKatt/screenFetch">Screenfetch</a>!

+ 2
- 2
upload/web.config View File

@@ -4,14 +4,14 @@
<rewrite>
<rules>
<rule name="View File" enabled="true" stopProcessing="true">
<match url="^([a-zA-Z0-9]+)([\.]([^/]+))?[^/]$" ignoreCase="false" />
<match url="^([a-zA-Z0-9]+)[\.]?([^/]+)?[^/]$" ignoreCase="false" />
<action type="Rewrite" url="/lib/download.php?file={C:1}" appendQueryString="false" logRewrittenUrl="false" />
<conditions>
<add input="{REQUEST_URI}" pattern="/(.+)" />
</conditions>
</rule>
<rule name="Delete Upload" stopProcessing="true">
<match url="^(([a-zA-Z0-9]+)([\.]([^/]+))?)/([a-zA-Z0-9]+)/?$" />
<match url="^(([a-zA-Z0-9]+)[\.]?([^/]+)?)/([a-zA-Z0-9]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

Loading…
Cancel
Save