Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

    /**
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     * @license   propietary http://www.weban.de
     * @version   $Rev: 888 $
     * @filesource
     * 
     */

    /**
     * 
     * @package   Content-management
     * @author    Webagentur Niewerth <tiefland@weban.de>
     * @copyright 2011 Webagentur Niewerth
     */

    // SVN: $Id: send_order.php 888 2011-12-14 09:46:11Z tiefland $

    require_once "../toolbox/common.php";
    require_once "module/weban/weban_utils.class.php";
    $GLOBALS["ui"]->compile_id = "bestellwesen";
    $user = substr( $site, 0, 16 );

    $lieferant_id = Weban_Utils::clean_input( $_POST["lieferant_id"], int );
    $lager_id = Weban_Utils::clean_input( $_POST["lager_id"], int );
    $cmd = "/var/www/vhosts/$site/httpdocs/cron/export_bestellungen.sh --lieferant=" .
        $lieferant_id . " --lager=" . $lager_id;
    exec( $cmd, $out, $ret );
    echo implode( "<br>", $out );
?>