1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?php
/*
$HeadURL: https://textpattern.googlecode.com/svn/releases/4.2.0/source/css.php $
$LastChangedRevision: 3189 $
*/
if (@ini_get('register_globals'))
foreach ( $_REQUEST as $name => $value )
unset($$name);
header('Content-type: text/css');
if (!defined("txpath"))
{
define("txpath", '/var/lib/textpattern/textpattern');
}
if (!isset($txpcfg['table_prefix']))
{
ob_start(NULL, 2048);
include txpath.'/config.php';
ob_end_clean();
}
$nolog = 1;
define("txpinterface", "css");
include txpath.'/publish.php';
$s = gps('s');
$n = gps('n');
output_css($s,$n);
?>
|