<?php
/************************************************************
* *
* Pindorama Core Configuration v. 0.11 *
* Guilherme Capilé <hide@address.com> *
* *
************************************************************/
$param["host"]=($_SERVER["host"] != "")?($_SERVER["host"]):($param["host"]);
$c["base"]=dirname(dirname($_SERVER["PATH_TRANSLATED"]));
$c["base"]=($_SERVER["pindorama_base"] != "")?($_SERVER["pindorama_base"]):($c["base"]);
$c["scheme"] = ($_SERVER["SERVER_PORT"] == "443")?("https"):("http");
$c += array(
"active" => $c["base"]."/active/",
"components" => $c["base"]."/active/components/",
"stylesheets" => $c["base"]."/active/stylesheets/",
"config" => $c["base"]."/etc/config/",
"includes" => $c["base"]."/etc/includes",
"etc" => $c["base"]."/etc/",
"templates" => $c["base"]."/etc/templates/",
"db" => $c["base"]."/var/db/",
"index" => $c["base"]."/var/index/",
"www" => $c["base"]."/var/www",
"cache_dir" => $c["base"]."/var/webcache",
"logfile" => $c["base"]."/var/log/xpml.log",
"xslt_logfile" => $c["base"]."/var/log/xpml-xslt.log",
"search_dir" => $c["base"]."/var/swish/",
"data_dir" => $c["base"]."/var/post/",
"users" => $c["base"]."/var/users/",
"var" => $c["base"]."/var/",
"host" => "http://".$_SERVER["HTTP_HOST"],
"base_url" => "",
"dir_index" => "index.html index.php",
"xmlpi" => '<?xml version="1.0" encoding="iso-8859-1"?>',
"log_level" => 0,
"lock_delay" => 7200,
"file_mask" => 0664,
"require_valid_user"=> TRUE,
"save-cache" => FALSE,
"cache" => FALSE,
"permissions" => TRUE,
"language" => "pt-br",
"error" => array("404"=>$c["host"]."/erro404.html","403"=>$c["host"]."/erro403.html"),
"read-only" => "meta-type",
"version" => "0.11",
"cookies" => TRUE,
"remote_server" => array($c["scheme"]."://localhost/xrpc-server"),
"only_cron_publish" => FALSE,
"publish_mode" => "local_copy",
"sql_method" => "odbc",
"sql_dsn" => "pindorama",
"sql_user" => "pindorama",
"sql_password" => "pindorama",
"publish_maxfiles" => 10,
"publish_timeout" => 10,
"bpublish_maxfiles" => 5000,
"bpublish_timeout" => 5000,
);
$c["xmlrpc_s"] = array(
"permit" => array("127.0.0.1"),
"document_root" => $c["var"]."public",
"modules_root" => $c["components"]."xmlrpc/modules/",
"scheme" => $c["scheme"],
"host" => "localhost",
"port" => ":80",
"path" => "/xrpc-server",
"server" => "xml-rpc at pindorama v0.11",
"logfile" => $c["base"]."/var/log/xmlrpc.log"
);
$c["xmlrpc_c"] = array(
"scheme" => "http",
"user" => "",
"pass" => "",
"host" => "pindorama",
"port" => ":80",
"path" => "/xrpc-server",
"user-agent" => "xml-rpc from pindorama v0.11"
);
?>