#!/usr/bin/php
<?php
    //========================================================================================================================
    /**
     * cliインターフェースサンプル実装
     *
     * LICENSE: This source file is subject to GNU GENERAL PUBLIC LICENSE Version 3
     * http://www.gnu.org/licenses/gpl-3.0.txt.
     *
     * @package    SampleApps
     * @subpackage cli
     * @copyright  2010 LabbitBox Development Team.
     * @license    GPL v3 http://www.gnu.org/licenses/gpl-3.0.txt
     * @author     neobaba <neobaba@labbitbox.org>
     * @version    v0.1
     * @since      -
     * @link       http://labbitbox.org/
     * @see        http://labbitbox.org/
     */
    //========================================================================================================================
    $wCoreDir   = '/var/www/lib/core';
    $wConfDir   = '/var/www/lib/conf';
    $wAppDir    = '/var/www/lib/sample';
    $wDocRoot   = '/var/www/lib/sample/public_html';

    require_once($wCoreDir.'/Application.php');
    $wApp   = new Application($wConfDir,    //設定ファイルディレクトリ
                              $wAppDir,     //プリケーションディレクトリ
                              $wDocRoot);   //ドキュメントルート
    $wApp->run();
?>

