wall.deblan.org/raw.php

12 lines
239 B
PHP

<?php
require_once 'functions.php';
if (hasValidGetDatas()) {
header('Content-Type: text/plain; charset=utf-8');
echo str_replace("\r", '', file_get_contents('datas/sources/'.$_GET['code']));
die();
}
header('Location: /');