| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/public_html/central/System/ |
Upload File : |
<?php
/******************************************************************************
* configuration.php
*
* This is the main configuration file that tells PHP how to run your
* application
*
* Author: Michael McMullen <michael.mcmullen@tutelagesystems.com>
******************************************************************************/
// Silently Start Session
@session_start();
$configuration = array();
// Configuration for Site
$configuration['site']['name'] = 'Knowledge Base';
$configuration['site']['logo'] = 'logo.jpg';
// Configuration for Base Site
$configuration['directory_www'] = 'http://www.seusiteimobiliario.com.br/central/ajuda'; // Public Location to your knowledge base
$configuration['directory_base'] = dirname(dirname(__FILE__)); // Do not change
$configuration['directory_library'] = $configuration['directory_base'] .'/Library'; // Library for Knowledge Base
$configuration['directory_public'] = $configuration['directory_base'] .'/ajuda'; // Public directory
$configuration['directory_system'] = $configuration['directory_base'] .'/System'; // System Files such as templates
$configuration['directory_var'] = $configuration['directory_base'] .'/Var'; // Stores Cached Files
// Configuration for RSS
$configuration['rss']['max_items'] = 20; // Number of items in an RSS feed
// Configuration for Database
$configuration['database'] = array();
$configuration['database']['username'] = 'seusitei_ajuda'; // Database Username
$configuration['database']['password'] = 'ajuda10'; // Database Password
$configuration['database']['host'] = 'localhost'; // Host Name
$configuration['database']['database'] = 'seusitei_ajuda'; // Database Name
$configuration['database']['generate'] = true; // Changing this to false will stop generating the database
// Configuration for Timezone
date_default_timezone_set('America/Bahia'); // Set to your default timezone (http://php.net/manual/en/timezones.php)
/******************************************************************************
DO NOT NEED TO CHANGE ANYTHING BELOW HERE
******************************************************************************/
// Start Autoloading Classes
require_once $configuration['directory_library'] .'/autoload.php'; // Autoloads and PEAR Classes
require_once $configuration['directory_library'] .'/MasterTemplate.php'; // Master Template Class
// Configure Library Path
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . $configuration['directory_library']);
// Configure Library Path (for PEAR)
ini_set('include_path', $configuration['directory_library'] .'/PEAR');
// Configuration for Database
$configuration['db_dataobject'] = &PEAR::getStaticProperty('DB_DataObject','options');
$configuration['db_dataobject'] = array(
'database' => 'mysql://'. $configuration['database']['username'] .':'. $configuration['database']['password'] .'@'. $configuration['database']['host'] .'/'. $configuration['database']['database'],
'schema_location' => $configuration['directory_var'] .'/Dataobjects', // Directory where the schema will be stored
'class_location' => $configuration['directory_var'] .'/Dataobjects', // Directory we can extend the objects
'require_prefix' => 'Dataobjects_', // Do not change
'class_prefix' => 'Dataobjects_', // Do not change
);
// Configuration for Flexy
$configuration['flexy'] = array(
'templateDir' => $configuration['directory_system'] .'/Templates', // Where we store the templates
'compiledDir' => $configuration['directory_var'] .'/Templates', // Where it can compile the templates
'forceCompile' => 0, // Do not change
'debug' => 0, // Do not change
'locale' => 'en', // Language used for reading / writing templates (template.html.en.php)
'compiler' => 'Standard', // Do not change
);
// Session Variable Prefixes
$configuration['session']['prefix'] = 'kb_';