<?php
//#################################################################################################
// Insert download links to media files page
//#################################################################################################
// chillyCMS - Content Management System
// Copyright (C) 2008
// Stefanie Wiegand <hide@address.com> & Johannes Cox <hide@address.com>
//
// This program is licensed under the GPL 3.0 license. For more information see LICENSE.txt.
//#################################################################################################
define('DOIT',true);
require_once("../core/session.backend.include.php");
require_once(PATH."/admin/insertfiles.include.php");
$msg = false;
if (isset($_POST["folder"])) { $showfolder = "../".cut_doubledots($_POST["folder"]); }
else { $showfolder = "../media"; }
$page->set_type("popup");
$page->print_head();
$page->add(insert_files());
$page->print_body($msg);
?>