/
configuration-sample.php
38 lines (33 loc) · 1.11 KB
/
configuration-sample.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
<?php
/**
* @package PortMagic
* @copyright Fernando Hidalgo
* @license GNU/GPL, http://www.gnu.org/licenses/gpl-3.0.txt
* @changelogs changelogs.php
* @file configuration.php
**/
/**
* RENAME THIS FILE TO: configuration.php
* RENAME FILE data-sample.json TO data.json
* and Configure params
* @author hidabe
*
*/
class PConfig {
var $url = ''; // It is ok so
var $dir = '/var/www/absolutevaryourweb/'; // You need change it
var $data = 'data.json'; // It is ok so, you need modify data.json
var $script_wk = 'scripts/wkhtmltoimage-i386'; // It is ok so
var $cachetime = 60000; // It is ok so
var $site = "YourSite"; // You need change it
var $header = "TextInHeaderOrImage"; // You need change it
var $description = "YourDescription"; // You need change it
var $username = "YourEmail@gDomain"; // You need change it
var $password = "YourPassword"; // You need change it
var $email = "DestinationEmail@Domain.com"; // You need change it
var $template = "ROUTE_TO_CSS_FILE"; // You can change it
public function get($param) {
return $this->$param;
}
}
?>