Project

General

Profile

Download (1.61 KB) Statistics
| Branch: | Tag: | Revision:
1 cb7d18d5 Renato Botelho
#!/usr/local/bin/php-cgi -f
2 9d537f9f Scott Ullrich
<?php
3
/*
4 e173dd74 Phil Davis
	rc.update_alias_url_data
5 0734024c Chris Buechler
	part of pfSense (https://www.pfsense.org)
6 e173dd74 Phil Davis
7 9d537f9f Scott Ullrich
	Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com>
8
	All rights reserved.
9 e173dd74 Phil Davis
10 9d537f9f Scott Ullrich
	Redistribution and use in source and binary forms, with or without
11
	modification, are permitted provided that the following conditions are met:
12 e173dd74 Phil Davis
13 9d537f9f Scott Ullrich
	1. Redistributions of source code must retain the above copyright notice,
14
	   this list of conditions and the following disclaimer.
15 e173dd74 Phil Davis
16 9d537f9f Scott Ullrich
	2. Redistributions in binary form must reproduce the above copyright
17
	   notice, this list of conditions and the following disclaimer in the
18
	   documentation and/or other materials provided with the distribution.
19 e173dd74 Phil Davis
20 9d537f9f Scott Ullrich
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
24
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
	POSSIBILITY OF SUCH DAMAGE.
30
*/
31
32
/* parse the configuration and include all functions used below */
33 e173dd74 Phil Davis
/* config.inc retrieves the util.inc and globals.inc */
34 9d537f9f Scott Ullrich
35
require_once("config.inc");
36
require_once("functions.inc");
37
38 8422cdd5 Ermal
if (update_alias_url_data()) {
39
	write_config();
40
	send_event("filter reload");
41
}
42 9d537f9f Scott Ullrich
?>