-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
44 lines (34 loc) · 1.01 KB
/
config.php
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
33
34
35
36
37
38
39
40
41
42
43
44
<?php
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
require_once 'vendor/autoload.php';
$basic = new stdClass();
$sql = new stdClass();
// Activar o desactivar motor de plantillas
$basic->debug = true;
$basic->runTemplateEnigne = true;
$basic->template_dir = 'tpl/';
$basic->template_cache_dir = 'tpl-cache/';
$basic->title = 'WarezSystem.com';
$basic->slogan = 'descargas ilimitadas';
$current = $_GET;
$basic->categoryMaxResults = 20;
// %1$s <== Titulo del post
// %2$s <== Nombre del sitio web
$basic->meta->titleFormat = 'Descargar %1$s - %2$s';
// %1$s <== Titulo del post
// %2$s <== Categoria del post
$basic->meta->descrptionFormat = 'descargar %1$s ahora gratis! en %2$s';
$basic->db_config = [
'host' => 'localhost',
'driver' => 'mysql',
'database' => 'warez',
'username' => 'user',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_general_ci',
'prefix' => ''
];
/*
@No tocar
*/
$db = new \Buki\Pdox($basic->db_config);