Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Software-update: CodeIgniter 2.1.1

CodeIgniter is een php-framework voor het ontwikkelen van webapplicaties. Het programma wordt uitgegeven onder een eigen licentie, die veel overeenkomsten vertoont met de Apache- en BSD-licenties. Voor meer informatie verwijzen we naar de handleiding. De ontwikkelaars hebben versie 2.1.1 uitgebracht en deze voorzien van de volgende aankondiging:

CodeIgniter 2.1.1 Released

It has been a few months since CodeIgniter 2.1.0 has been released and since that time lots of development work has been going into the “develop” branch on GitHub towards the new and improved 3.0. Progress has been great and now we have Unit Testing, PDO drivers, improvements to the Query Builder (no longer called Active Record), performance tweaks and all sorts of other new features.

While 3.0.0 is still a few months away from a stable release, we’re pleased to announce CodeIgniter 2.1.1, with a few bug fixes and tweaks. It’s not going to blow you away, but it does mean a more stable CodeIgniter is now available.
  • Improved MIME type detection in the File Uploading Library.
  • url_title() performance and output improved. You can now use any string as the word delimiter. Backwards compatible with ‘dash’ or ‘underscore’ as words delimiters.
  • Added support for IPv6 IP addresses.
  • A wrong array key was used in the Upload library to check for mime-types.
  • form_open() compared $action against site_url() instead of base_url()
  • CI_Upload::_file_mime_type() could’ve failed if mime_content_type() is used for the detection and returns FALSE.
  • Windows paths were ignored when using the Image Manipulation Class to create a new file.
  • When database caching was enabled, $this->db->query() checked the cache before binding variables which resulted in cached queries never being found.
  • CSRF cookie value was allowed to be any (non-empty) string before being written to the output, making code injection a risk.
  • PDO put a ‘dbname’ argument in it’s connection string regardless of the database platform in use, which made it impossible to use SQLite.
  • CI_DB_pdo_result::num_rows() was not returning properly value with SELECT queries, cause it was relying on PDOStatement::rowCount().
  • CI_Image_lib::clear() was not correctly clearing all necessary object properties, namely width and height.
  • Active Record’s from() method didn’t escape table aliases.
Take a look at the the Upgrade Guide to see how to upgrade from previous versions. This is a pretty simple update which does not have any API-breaking changes, so you should not have problems moving your 2.1.0 applications to this. If you are storing IP addresses in your database you may need to enlarge those columns to hold the longer IPv6 format.

Download it now or check it out at GitHub.
Versienummer 2.1.1
Releasestatus Final
Besturingssystemen Scripttaal
Website CodeIgniter
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Japke Rosink


20-06-2012 • 09:05

0 Linkedin Google+

Submitter: Natrium

Bron: CodeIgniter



Er zijn nog geen reacties geplaatst

Op dit item kan niet meer gereageerd worden.

Apple iPhone XS Red Dead Redemption 2 LG W7 Google Pixel 3 XL OnePlus 6T FIFA 19 Samsung Galaxy S10 Google Pixel 3

Tweakers vormt samen met Tweakers Elect, Hardware.Info, Autotrack, Nationale Vacaturebank en Intermediair de Persgroep Online Services B.V.
Alle rechten voorbehouden © 1998 - 2018 Hosting door True