惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Spread Privacy
Spread Privacy
H
Hacker News: Front Page
PCI Perspectives
PCI Perspectives
Webroot Blog
Webroot Blog
罗磊的独立博客
H
Heimdal Security Blog
TaoSecurity Blog
TaoSecurity Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
Last Week in AI
Last Week in AI
美团技术团队
Help Net Security
Help Net Security
The Hacker News
The Hacker News
C
Cisco Blogs
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
The Register - Security
The Register - Security
IT之家
IT之家
WordPress大学
WordPress大学
Jina AI
Jina AI
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Help Net Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threat Research - Cisco Blogs
P
Proofpoint News Feed
NISL@THU
NISL@THU
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
Scott Helme
Scott Helme
V
Vulnerabilities – Threatpost
B
Blog
T
Tenable Blog
博客园 - 三生石上(FineUI控件)
T
The Exploit Database - CXSecurity.com
S
Security Affairs
小众软件
小众软件
Hacker News: Ask HN
Hacker News: Ask HN
Security Latest
Security Latest
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
W
WeLiveSecurity
A
Arctic Wolf
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence

博客园 - 闲云

javac编译项目代码脚本片段 过滤特殊输入字符(Java) PHP的时间总结 dojo tree的折叠和展开 设置IE8和Firefox3.0的语言 Javascript中call函数 喵喵 在工作中学习 FlashForward 2006 Austin 获奖名单[转自Dengjie Blog] 利用〔正则〕检查.NET访问数据库Sql的正确性 无计划就不行动! 如何由已知去了解未知? 检验医学信息资源链接 如何恢复IDE默认设置 MSDN Magazine CHM &TchNet CHM下载 不常见程序写法和容易误解的概念 打印-参考例子 VS2005的正则表达式查找/替换 一句话的软件工程
Slim通过composer生成脚本问题的解决办法
闲云 · 2016-09-05 · via 博客园 - 闲云
通过以下composer生成slim的模板项目
$ php composer.phar create-project slim/slim-skeleton [my-app-name]
$ cd [my-app-name]; php -S 0.0.0.0:8080 -t public public/index.php

运行起来有错误,需要修改成以下路径

require '/vendor/autoload.php';

// Prepare app
$app = new \Slim\Slim(array(
     'templates.path' => './templates',
));