Пример #1
0
    <?php 
/**
 * @author Sławomir Żytko <*****@*****.**>
 * @copyright (c) 2014, Amsterdam Standard
 */
require_once "phar://vegaser.phar" . DIRECTORY_SEPARATOR . "common.php";
function __autoload($name)
{
    require_once 'phar://vegaser.phar' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $name) . '.php';
}
AppManager::run($argv);
Пример #2
0
<?php

/**.
 * This is an example of packeging an php Application for Example purpose
 * 
 * Created under the CCC Licence. 
 * 
 * @author Jan-David Siegl <*****@*****.**>
 * @since 09.08.2015
 */
function __autoload($name)
{
    include $name . ".php";
}
$config = parse_ini_file("config.ini");
AppManager::run($config);