This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
root /var/www/project1/public; | |
index index.html index.php; | |
# Make site accessible from http://localhost/ | |
server_name localhost; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Controller_Admin_Judges extends Controller_Admin_Base { | |
public function action_add() { | |
//Setting various view variables | |
$this->view->section_title = 'Add a New Judge'; | |
$this->view->body = View::factory('admin/judges/form'); | |
$this->view->body->button_text = 'Add Judge'; | |
//Process our form POST |