Home > Backend Development > PHP Tutorial > ThinkPHP学习日记1-(配置)

ThinkPHP学习日记1-(配置)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:25:07
Original
958 people have browsed it

ThinkPHP学习日志1-(配置)
PHP 模板技术
1.Thinkphp 学习的目的
深入学习PHP语法,与方便快捷构站。
2.Thinkphp 配置
1).下载Thinkphp(Core)文件,放在Webroot目录;
2).建立index.php,生成目录

<?php define(ROOT_PATH,'/Applications/MAMP/htdocs/ts');
    define('THINK_PATH',ROOT_PATH.'/ThinPHP');
    define('APP_PATH',ROOT_PATH.'/home');
    define('APP_NAME','home');
//调用文件
require_once(THINK_PATH.'ThinkPHP.php');
APP::run();
?>
Copy after login


Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
thinkphp versions supported by php6
From 1970-01-01 08:00:00
0
0
0
thinkphp upload files
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template