好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

emlog MVC解构26--控制器Controller之Plugin_Controller

Plugin_Controller控制器用于在前台加载插件页面,仅有一个方法:loadPluginShow($params)。

使用方法:BLOG_URL?plugin=$pluginname,一般此页面用来输出插件说明页面,可根据需要使用。

function loadPluginShow($params) {
    // 获取插件目录名,未配置则设为空
    $plugin = isset($params[1]) && $params[1] == 'plugin' ? addslashes($params[2]) : '' ;
    // 插件目录名仅包含大小写字母,数字,下划线,横杠,且目录下存在$plugin_show.php文件
    if (preg_match("/^[\w\-]+$/", $plugin) && file_exists(EMLOG_ROOT."/content/plugins/{$plugin}/{$plugin}_show.php")) {
        // 调用$plugin_show.php文件
        include_once("./content/plugins/{$plugin}/{$plugin}_show.php");
    }
}


点赞2
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
growemwell
 growemwell 54 分钟前回复
#177
<a href="http://www.kyayar.com/adidas-climacool-sko-kvinders-lyser%C3%B8d-skoi">adidas climacool sko kvinders lyser酶d</a> <a href="http://www.lesenat.com/adidas-boost-chaussures-bleu-chaussuresh">adidas boost chaussures bleu</a> <a href="http://www.itsaggw.com/iowa-flag-hat-hatl">iowa flag hat</a> <a href="http://www.liftours.com/femmes-nike-flyknit-racer-orange-noir-chaussuresh">femmes nike flyknit racer orange noir</a> <a href="http://www.jbidny.com/mujeres-asics-gel-kinsei-4-oro-gris-zapatosk">mujeres asics gel kinsei 4 oro gris</a> <a href="http://www.archglagol.com/adidas-yeezy-boost-350-purple-shoesj">adidas yeezy boost 350 purple</a>
growemwell http://www.growemwell.com/
vanltl
 vanltl 约 11 小时前回复
#176
<a href="http://www.wuxiangtaichi.com/nike-roshe-run-camo-hero-blau-atomic-rot-schuhel">nike roshe run camo hero blau atomic rot</a> <a href="http://www.culdesacmag.com/femmes-asics-gel-lyte-5-noir-oranger-chaussuresq">femmes asics gel lyte 5 noir oranger</a> <a href="http://www.livinggreedy.com/nike-kd-trey-5-gris-verde-zapatosl">nike kd trey 5 gris verde</a> <a href="http://www.clickstroy.com/air-jordan-7-sport-bl%C3%A5-skoj">air jordan 7 sport bl氓</a> <a href="http://www.zotorrent.com/nike-kyrie-3-s%C3%B8lv-oransje-obuvi">nike kyrie 3 s酶lv oransje</a> <a href="http://www.viptarimas.com/hombres-nike-air-huarache-nm-oro-p%C3%BArpura-zapatosp">hombres nike air huarache nm oro p煤rpura</a>
vanltl http://www.vanltl.com/
freedomoaksbb
 freedomoaksbb 约 17 小时前回复
#175
<a href="http://www.kyayar.com/nike-air-max-2018-nero-argento-scarpei">nike air max 2018 nero argento</a> <a href="http://www.lesenat.com/adidas-zx-700-blanco-azul-naranja-zapatosh">adidas zx 700 blanco azul naranja</a> <a href="http://www.itsaggw.com/nike-air-huarache-herre-alle-sort-skok">nike air huarache herre alle sort</a> <a href="http://www.liftours.com/adidas-neo-play9tis-high-top-sneaker-gr%C3%A5-rosa-obuvi">adidas neo play9tis high top sneaker gr氓 rosa</a> <a href="http://www.jbidny.com/adidas-yeezy-750-boost-azul-zapatosl">adidas yeezy 750 boost azul</a> <a href="http://www.archglagol.com/ray-ban-clubmaster-original-sunglassesh">ray ban clubmaster original</a>
freedomoaksbb http://www.freedomoaksbb.com/
zeraxia
 zeraxia 2019-04-24 12:23回复
#174
<a href="http://www.zeraxia.com/plain-nero-converse-scarpej">plain nero converse</a> <a href="http://www.turisim.com/nike-kyrie-2-grau-schuhei">nike kyrie 2 grau</a> <a href="http://www.sybelite.com/air-jordan-4-sort-r%C3%B8d-skoh">air jordan 4 sort r酶d</a> <a href="http://www.lemodemo.com/james-harden-okc-thunder-jersey-nfli">james harden okc thunder jersey</a> <a href="http://www.fskanglipu.com/hvit-nike-sko-air-max-obuvk">hvit nike sko air max</a> <a href="http://www.tekmenu.com/coach-kristin-wristlet-coachh">coach kristin wristlet</a>
zeraxia http://www.zeraxia.com/
nowaitnails
 nowaitnails 2019-04-23 05:49回复
#173
<a href="http://www.profancyshop.com/nike-flyknit-racer-lilla-hvit-obuvi">nike flyknit racer lilla hvit</a> <a href="http://www.lmcgroep.com/nike-air-max-tailwind-8-mujeres-p%C3%BArpura-azul-zapatosp">nike air max tailwind 8 mujeres p煤rpura azul</a> <a href="http://www.nowaitnails.com/coach-city-bag-red-epic-coachh">coach city bag red epic</a> <a href="http://www.xmrujo.com/air-jordan-cp3-blue-green-shoesj">air jordan cp3 blue green</a> <a href="http://www.sevenguard.com/kvinders-asics-gel-kayano-21-guld-gul-skol">kvinders asics gel kayano 21 guld gul</a> <a href="http://www.escortsue.com/nike-mercurial-vapor-superfly-3-bleu-chaussuresq">nike mercurial vapor superfly 3 bleu</a>
nowaitnails http://www.nowaitnails.com/
aktuelresim
 aktuelresim 2019-04-23 02:50回复
#172
<a href="http://www.xescortx.com/nike-air-pegasus-83-schwarz-silber-schuhei">nike air pegasus 83 schwarz silber</a> <a href="http://www.naturabottega.com/converse-product-r%C3%B8d-skoh">converse product r酶d</a> <a href="http://www.peddlir.com/pittsburgh-penguins-away-jersey-2016-nfli">pittsburgh penguins away jersey 2016</a> <a href="http://www.snowdaydc.com/adidas-springblade-drive-mennns-oransje-gull-obuvk">adidas springblade drive mennns oransje gull</a> <a href="http://www.alliesindex.com/coach-wristlet-large-size-coachh">coach wristlet large size</a> <a href="http://www.cafekem.com/femminile-nike-blazer-high-i-light-blu-bianca-scarpej">femminile nike blazer high i light blu bianca</a>
aktuelresim http://www.aktuelresim.com/
gazmafsali
 gazmafsali 2019-04-22 00:55回复
#171
<a href="http://www.epiuenergia.com/air-jordan-son-of-mars-gris-bleu-chaussuresa">air jordan son of mars gris bleu</a> <a href="http://www.filoxenos.com/nike-lunar-tempo-p%C3%BArpura-gris-butya">nike lunar tempo p煤rpura gris</a> <a href="http://www.hugandpups.com/air-jordan-jumpman-rojo-hombresta-verde-obuvd">air jordan jumpman rojo hombresta verde</a> <a href="http://www.lafuette.com/nike-free-run-2-triple-wei%C3%9F-kitchen-scarpea">nike free run 2 triple wei脽 kitchen</a> <a href="http://www.sheffieldclc.com/maschio-nike-internationalist-viola-oro-scarpef">maschio nike internationalist viola oro</a> <a href="http://www.whoismoussy.com/kobe-8-zapatos-for-venta-obuvd">kobe 8 zapatos for venta</a>
gazmafsali http://www.gazmafsali.com/
flushandhunt
 flushandhunt 2019-04-21 14:34回复
#170
<a href="http://www.sousoushop.com/nike-air-force-1-low-leather-trainers-in-black-shoesj">nike air force 1 low leather trainers in black</a> <a href="http://www.rcfitcamp.com/lilac-michael-kors-backpack-mkh">lilac michael kors backpack</a> <a href="http://www.milajerdchat.com/kvinners-air-jordan-4-gr%C3%A5-obuvi">kvinners air jordan 4 gr氓</a> <a href="http://www.girisweb.com/nike-air-max-lunar-1-femminile-grigio-bianca-scarpej">nike air max lunar 1 femminile grigio bianca</a> <a href="http://www.abcmovieplot.com/adidas-neo-high-pink-green-shoesh">adidas neo high pink green</a> <a href="http://www.oldhalliwell.com/adidas-zx-700-oro-verde-zapatosp">adidas zx 700 oro verde</a>
flushandhunt http://www.flushandhunt.com/
cwpfloorcare
 cwpfloorcare 2019-04-20 22:02回复
#169
<a href="http://www.shopmrkatin.com/kids-devin-booker-jersey-nfli">kids devin booker jersey</a> <a href="http://www.bassgoesgreen.com/hombres-nike-darwin-negro-verde-zapatosh">hombres nike darwin negro verde</a> <a href="http://www.campsiberia.com/adidas-stan-smith-naranja-zapatosk">adidas stan smith naranja</a> <a href="http://www.parlapotuak.com/north-face-apex-bionic-vest-black-northfaceh">north face apex bionic vest black</a> <a href="http://www.bhramarhealth.com/adidas-ace-gr%C3%BCn-schuhek">adidas ace gr眉n</a> <a href="http://www.tamisettc.com/kvinder-air-jordan-retro-14-low-hvid-sort-skoi">kvinder air jordan retro 14 low hvid sort</a>
cwpfloorcare http://www.cwpfloorcare.com/
allmydibs
 allmydibs 2019-04-20 10:41回复
#168
<a href="http://www.germanxtube.com/nike-free-3.0-v3-gr%C3%B8n-gul-skoi">nike free 3.0 v3 gr酶n gul</a> <a href="http://www.eugenesklyar.com/adidas-damian-lillard-2-blanc-chaussuresh">adidas damian lillard 2 blanc</a> <a href="http://www.bamadu.com/phoenix-suns-adidas-nba-black-color-pop-flex-cap-hatl">phoenix suns adidas nba black color pop flex cap</a> <a href="http://www.gamekeyssale.com/noir-nike-air-roshe-chaussuresh">noir nike air roshe</a> <a href="http://www.aktuelresim.com/adidas-superstar-snake-azul-negro-zapatosk">adidas superstar snake azul negro</a> <a href="http://www.myshoesonsale.com/adidas-originals-gazelle-grey-womens-shoesj">adidas originals gazelle grey womens</a>
[url=http://www.allmydibs.com/]allmydibs[/url]
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸