pool/web/run.php
Tanguy Pruvot bb31cec957 dos2unix all files, we are on linux
trim them, btw... its important to start on a clean base...
2015-07-12 04:40:50 +02:00

25 lines
394 B
PHP
Executable file

<?php
if(php_sapi_name() != "cli") return;
require_once('serverconfig.php');
require_once('framework-1.0.8/yii.php');
require_once('yaamp/include.php');
$app = Yii::createWebApplication('yaamp/config.php');
try
{
$app->runController($argv[1]);
}
catch(CException $e)
{
debuglog($e, 5);
// $message = $e->getMessage();
// send_email_alert('backend', "backend error", "$message");
}