source: tags/2.1.5/services/css.php @ 377

Last change on this file since 377 was 377, checked in by quinn, 14 years ago

Releasing trunk as stable version 2.1.5

File size: 1.3 KB
Line 
1<?php
2/**
3 * The Strangecode Codebase - a general application development framework for PHP
4 * For details visit the project site: <http://trac.strangecode.com/codebase/>
5 * Copyright 2001-2010 Strangecode, LLC
6 *
7 * This file is part of The Strangecode Codebase.
8 *
9 * The Strangecode Codebase is free software: you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as published by the
11 * Free Software Foundation, either version 3 of the License, or (at your option)
12 * any later version.
13 *
14 * The Strangecode Codebase is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 * details.
18 *
19 * You should have received a copy of the GNU General Public License along with
20 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23/**
24 * css.php
25 *
26 * This file works with the CSS.inc.php class to print a "normal" css file and
27 * is to be included as any css file would be. It should not be necessary to
28 * ever modify this file.
29 */
30
31require_once dirname(__FILE__) . '/_config.inc.php';
32
33if (is_a($css, 'CSS')) {
34    $css->headers(getFormData('app'));
35    $css->output(getFormData('app'));
36}
37
38?>
Note: See TracBrowser for help on using the repository browser.