aboutsummaryrefslogtreecommitdiff
path: root/css.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
commit82d40e32363c4e96996eca7ee44ade879589aa0e (patch)
tree44c819d2472697de1e8eb404148f4a087109b27e /css.php
parent11c7214cb58be4100422b8f905bc629a8906e6ff (diff)
downloadratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.gz
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.bz2
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.zip
Expand tabs and remove trailing whitespace
Diffstat (limited to 'css.php')
-rw-r--r--css.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/css.php b/css.php
index 2187eb3..0f686d5 100644
--- a/css.php
+++ b/css.php
@@ -2,7 +2,7 @@
/*
* File: css.php
* Spit out User-defined CSS styles.
- *
+ *
* License:
* This file is part of Ratatöskr.
* Ratatöskr is licensed unter the MIT / X11 License.
@@ -12,18 +12,18 @@
require_once(dirname(__FILE__) . "/ratatoeskr/sys/models.php");
if(!isset($_GET["name"]))
- die();
+ die();
try
{
- $style = Style::by_name($_GET["name"]);
- header("Content-Type: text/css; charset=UTF-8");
- echo str_replace("%root%", ".", $style->code);
+ $style = Style::by_name($_GET["name"]);
+ header("Content-Type: text/css; charset=UTF-8");
+ echo str_replace("%root%", ".", $style->code);
}
catch(DoesNotExistError $e)
{
- header("HTTP/1.1 404 Not Found");
- header("Content-Type: text/plain; charset=UTF-8");
- echo "404 - Not found.";
+ header("HTTP/1.1 404 Not Found");
+ header("Content-Type: text/plain; charset=UTF-8");
+ echo "404 - Not found.";
}
?>