29 Star 57 Fork 26

eryx / lesscreator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
env.php 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
class lesscreator_env
{
public static function GroupByAppList()
{
return array(
'50' => 'Business',
'51' => 'Collaboration',
'52' => 'Productivity',
'53' => 'Developer Tools'
);
}
public static function RuntimesList()
{
return array(
'nginx' => array(
'title' => 'WebServer (nginx)',
),
'php' => array(
'title' => 'PHP',
),
'go' => array(
'title' => 'Go',
),
'nodejs' => array(
'title' => 'NodeJS',
),
'python' => array(
'title' => 'Python',
),
'java' => array(
'title' => 'Java',
),
);
}
public static function GroupByDevList()
{
return array(
'60' => 'Web Frontend Library, Framework',
'61' => 'Web Backend Library, Framework',
'70' => 'System Library',
'71' => 'System Server, Service',
'72' => 'Runtime',
);
}
public static function ProjInfoDef($proj)
{
return array(
'projid' => "$proj",
'name' => "$proj",
'summary' => '',
'version' => '0.0.1',
'depends' => '',
'release' => '1',
'arch' => 'all',
'runtimes' => array(),
'props_app' => array(),
'props_dev' => array(),
);
}
public static function NginxConfTypes()
{
return array(
'std' => 'Standard configuration',
'static' => 'Pure static files',
'phpmix' => 'php-fpm (PHP FastCGI Process Manager) and static files',
'custom' => 'Custom Configuration',
);
}
}
PHP
1
https://gitee.com/eryx/lesscreator.git
git@gitee.com:eryx/lesscreator.git
eryx
lesscreator
lesscreator
master

搜索帮助