Skip to content

Commit

Permalink
Enable phpinfo(). Time for server uploading.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfman2000 committed Apr 14, 2010
1 parent d5c1b5c commit f511e56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/frontend/config/routing.yml
Expand Up @@ -8,6 +8,13 @@ homepage:
module: ppehome
action: index

# PHPInfo
info:
url: /info
param:
module: info
action: index

# create an edit on the website.
edit_creator:
url: /create
Expand Down
3 changes: 2 additions & 1 deletion apps/frontend/modules/info/actions/actions.class.php
Expand Up @@ -17,6 +17,7 @@ class infoActions extends sfActions
*/
public function executeIndex(sfWebRequest $request)
{
$this->forward('default', 'module');
sfConfig::set('sf_web_debug', false);
return $this->renderPartial('info/info');
}
}
1 change: 1 addition & 0 deletions apps/frontend/modules/info/templates/_info.php
@@ -0,0 +1 @@
<?php echo phpinfo(); ?>

0 comments on commit f511e56

Please sign in to comment.