Merge branch 'registerdialog'
authorToni Jussila <toni.jussila@gmail.com>
Thu, 27 May 2010 07:07:19 +0000 (10:07 +0300)
committerToni Jussila <toni.jussila@gmail.com>
Thu, 27 May 2010 07:07:19 +0000 (10:07 +0300)
Server/application/controllers/results.php
Server/application/views/api/categories.php

index 71a63d3..8227fca 100644 (file)
@@ -1,4 +1,4 @@
- <?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php defined('SYSPATH') OR die('No direct access allowed.');
 /*
  * API controller for managing and viewing results and categories
  * 
index 334f4ea..aec137b 100644 (file)
@@ -1,4 +1,4 @@
-<?php echo "<?"; ?>xml version="1.0" encoding="utf-8" <?php echo "?>"; ?>
+<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
 
 <categories>
     <?php foreach ($categories as $k){ ?>   <category description="<?php echo $k->description; ?>" unit="<?php echo $k->unit; ?>"><?php echo $k->slug; ?></category>