예제 #1
0
파일: add.php 프로젝트: ssrsfs/blg
<?php

include 'options.inc.php';
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    $download = Model_Download_File::Create();
    $download['siteid'] = Typeframe::CurrentPage()->siteid();
    include 'update.inc.php';
    if ($download->exists()) {
        Typeframe::Redirect('Download created.', Typeframe::CurrentPage()->applicationUri());
    }
}