Config Files

PHP Smarty

Smarty - the compiling PHP template engine
Prev 来源:PHP中文社区 Next

Chapter 9. Config Files

第九章.配置文件

# global variables
pageTitle = "Main Menu"
bodyBgColor = #000000
tableBgColor = #000000
rowBgColor = #00ff00

[Customer]
pageTitle = "Customer Info"

[Login]
pageTitle = "Login"
focus = "username"
Intro = """This is a value that spans more
 than one line. you must enclose
			it in triple quotes."""

# hidden section
[.Database]
host=my.domain.com
db=ADDRESSBOOK
user=php-user
pass=foobar

Prev 来源:PHP中文社区 Home Next
textformat Up Debugging Console