PHP Classes

File: conf.php

Recommend this page to a friend!
  Classes of Evaldo Barbosa   PHP Add Apache Virtual Host   conf.php   Download  
File: conf.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP Add Apache Virtual Host
Add a virtual host to Apache configuration
Author: By
Last change: Update of conf.php
Date: 6 months ago
Size: 511 bytes
 

Contents

Class file image Download
<?
ini_set
("display_errors", "Off");
ini_set("error_reporting",E_ALL ^ E_NOTICE ^ E_WARNING);

define("APACHE_VHOST_PATH","/etc/apache2/sites-enabled");
define("APACHE_GROUP","www-data");
define("CURRENT_USER","evaldo");
define("HOSTS_FILE","/etc/hosts");
define("DEFAULT_PRJ_PATH", $_SERVER['HOME'] . "/Projetos");

//define("PROXY_HOST",'proxy.host.com.br:3128');
//define("PROXY_USER",'evaldobarbosa:myproxypassword');

define("LANGUAGE",'pt_BR');
//define("LANGUAGE",'de_DE');
//define("language",'en_US');