Skip to content

Commit

Permalink
Version bump to 0.2.3. See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
nodesocket committed Aug 10, 2012
1 parent cbe1bf0 commit e299d25
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
@@ -1,13 +1,16 @@
## CHANGELOG

### Version 0.2.3 (open source) - *08/09/2012*
- Fixed bug in `/classes/Links.php` where if using pretty links, any request inside of the `/actions` directory would cause pretty links to disable.

### Version 0.2.2 (open source) - *08/09/2012*
- Short PHP tags `<?` replaced with full tags `<?php` in the entire application for maximum compatibility with different `php.ini` configurations.

### Version 0.2.1 (open source) - *08/09/2012*
- Fixed a bug in `install.php` which generate a `CRYPTO_SEED` of 62 characters instead of 64. Reduced required length in `app.config.php` to 40 characters.
- Fixed bug in `install.php` which generated a `CRYPTO_SEED` of 62 characters instead of 64. Reduced required length in `app.config.php` of `CRYPTO_SEED` to 40 characters.

### Version 0.2.0 (open source) - *08/09/2012*
- Removed the requirement of setting up re-write rules and created a new class `Links`. All links work either with pretty links enabled or disabled. To use pretty links, re-write rules must still be configured on the web-server. See step *#13* in the installation instructions for further details.
- Removed the requirement of setting up re-write rules and created a new class `/classes/Links`. All links work either with pretty links enabled or disabled. To use pretty links, re-write rules must still be configured on the web-server. See step *#13* in the installation instructions for further details.

### Version 0.1.0 (open source) - *08/07/2012*
- Initial release
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.2.2 (open source)
0.2.3 (open source)
11 changes: 11 additions & 0 deletions classes/Links.php
Expand Up @@ -23,6 +23,17 @@ public static function render($page, array $query_params = array()) {
$page = "/" . $page;
}

////
// Fix for actions, look for '.php' in the referer
//
// There may be a better way to do this. Do you know?
////
if(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) {
if(strpos($_SERVER['HTTP_REFERER'], ".php") === false) {
Links::$pretty = true;
}
}

if(Links::$pretty) {
if(count($query_params) > 0) {
return $page . "/" . implode("/", $query_params);
Expand Down
2 changes: 1 addition & 1 deletion classes/Version.php
Expand Up @@ -19,6 +19,6 @@ class Version {
////
// Major.Minor.Revision
////
const current = "0.2.2 (open source)";
const current = "0.2.3 (open source)";
}
?>

0 comments on commit e299d25

Please sign in to comment.