Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Content-type: text/html; charset=utf-8");
- date_default_timezone_set('America/Sao_Paulo');
- error_reporting(-1);
- ini_set('display_errors', 'On');
- spl_autoload_register(function ($class) {
- $class = str_replace('\', '/', $class);
- include "/home/nomedomeusite.com.br/public_html/" . $class . '.class.php';
- });
- ini_set('display_errors', 'On');
- $db = new mysqli('aquivaimeuhost', 'usuario_Db', 'senha_Db') or die('Erro ao conectar');
- $db->select_db("aquivaidatabase") or die('Erro ao conectar com o banco de dados');
- $db->set_charset('utf8');
- ?>
- Warning: include(/home/joinimoveis.com.br/public_html/app/Service.class.php): failed to open stream: No such file or directory in /home/joinimoveis/public_html/config.php on line 10
- Warning: include(): Failed opening '/home/joinimoveis.com.br/public_html/app/Service.class.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/joinimoveis/public_html/config.php on line 10
- Fatal error: Uncaught Error: Class 'appService' not found in /home/joinimoveis/public_html/index.php:12 Stack trace: #0 {main} thrown in /home/joinimoveis/public_html/index.php on line 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement