ini chickens.cfg

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini chickens.cfg相关的知识,希望对你有一定的参考价值。

//-----
//smokechickens.cfg
//-----
//Customise keybinds at the bottom of the config file
//-----
//Press [default: X] to spawn a chicken at your crosshair and make it glow so you can see it through walls.
//Press [default: Z] to kill all chickens on the map. (you monster)
//Press [default: C] to toggle the glow on the chickens.
//-----
//Known bugs:
//-----
//If you get too far away from a chicken you've turned the glow off on, it will *not*
//show up through walls until you get close to it. Then it will be show up from any distance.
//-----
//If you spawn a chicken directly into a wall, it will get stuck sometimes, and won't even glow.
//Just kill all the chickens and start again, or you could just shoot it.
//-----

alias spawnChicken "ent_create chicken; ent_setname chk; ent_fire chk setanimationnoreset flap"

alias killChicken "ent_fire chk break; ent_fire chicken kill"

alias toggleGlow toggleGlowOn
alias toggleGlowOn "ent_fire chk setglowenabled; alias toggleGlow toggleGlowOff"
alias toggleGlowOff "ent_fire chk setglowdisabled; alias toggleGlow toggleGlowOn"

//default keybinds here, change if you need
bind z "killChicken; say Killing all chickens"
bind x "spawnChicken; say Spawning a chicken"
bind c "toggleGlow; say Toggling glow effect"

alias echohelp "echo "-----"; echo "Press [default: X] to spawn a chicken at your crosshair."; echo "Press [default: Z] to kill all chickens on the map. (you monster)"; echo "Press [default: C] to toggle the glow on the chickens."; echo "Type > echohelp < for this message again."; echo "-----"; echo "";"

clear
echo "-----"
echo "-SmokeChickens.cfg loaded"
echohelp
echo ""

//stupid stuff
alias sillynone "ent_fire chk setbodygroup 0; say Boring chickens; alias silly sillyhat"
alias sillyhat "ent_fire chk setbodygroup 1; say Party chickens; alias silly sillyghost"
alias sillyghost "ent_fire chk setbodygroup 2; say Spooky chickens; alias silly sillysweater"
alias sillysweater "ent_fire chk setbodygroup 3; say Festive chickens; alias silly sillynone"
alias silly sillyhat
bind f4 silly

say "SmokeChickens.cfg loaded, type 'echohelp' in console for commands, press F4 for stupid stuff."

centos下php.ini配置项

【中文标题】centos下php.ini配置项【英文标题】:php.ini configuration items under centos 【发布时间】:2012-04-16 19:22:31 【问题描述】:

配置文件路径:/etc/php.ini

/etc/php.d 下的其他 .ini 文件:curl.ini、fileinfo.ini、gd.ini、json.ini、mysql.ini、mysqli.ini、pdo.ini、 pdo_mysql.ini, pdo_sqlite.ini, phar.ini,sqlite3.ini,zip.ini

问题是我在 .ini 文件下找不到“post_max_size”、“disable_functions”等这些项目的配置位置,我应该自己将它们添加到 php.ini 中吗?

PS:windows或ubuntu下这些配置项好像在php.ini里,对吗?

【问题讨论】:

【参考方案1】:

你可以从 php functon ini_set 做

请看这个

http://php.net/manual/en/function.ini-set.php

【讨论】:

【参考方案2】:

核心配置放在php.ini文件中,扩展配置放在php.d文件夹中。

【讨论】:

也就是说,我应该自己将它们添加到php.ini文件中? 我可以再评论一下这个答案吗?

以上是关于ini chickens.cfg的主要内容,如果未能解决你的问题,请参考以下文章

centos下php.ini配置项

在Delphi下,怎样在DLL里读取ini文件的内容

vb读写ini文件

在Delphi下,如何在DLL里攫取ini文件的内容

delphi同步读取ini文件

pycharm新建ini文件或创建ini文件失败