English 中文(简体)
2.0.2 编码精选中的微粒
原标题:Installing plugins in Codeigniter 2.0.2

我想在这里使用这一缩略语(http://shuvankar.wordpress.com/ 201005/04/codeigniter-geo-ip-position/),但不能找到一个/系统/plugin的夹。 在什么地方,我应该把这一原始档案放在一起?

此外,我如何自动上载这一花gin? 不可能自动卸载花板、助手和图书馆......

Btw,原始材料和图书馆之间的区别是什么?

2.0.2

最佳回答

如NLL所说,Plugins已经淘汰了2.0。 然而,这并不意味着你可以不使用假象,而只是把它当作一种助手,而这正是同一件事,因此删除了假象。

Rename the file to geoip_helper.php and place it into your application/helpers directory and then in your autoload.php you should see the option of autoloading a helper and put "geoip" into the array.

问题回答

Plugin had been removed in 2.00 version, see here http://codeigniter.com/user_guide/changelog.html





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签