Pluf Framework

Pluf Framework Commit Details


Date:2009-03-27 03:48:21 (15 years 8 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:c7d2912bb09c2d620469a14116e6da38b64edea1
Parents: ea0db1b83c98a4fb598837e42313111a5920afc4
Message:Added the ability to pass the action with a get parameter.

Now, the _pluf_action get parameter can be used to pass the action. This
can be practical for some mod_rewrite configurations.
Changes:

File differences

src/Pluf/HTTP/URL.php
6969
7070
7171
72
73
74
7275
7376
7477
*/
public static function getAction()
{
if (isset($_GET['_pluf_action'])) {
return $_GET['_pluf_action'];
}
return (isset($_SERVER['PATH_INFO'])) ?
$_SERVER['PATH_INFO'] : '/';
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05944s using 13 queries.