Commit d8515c9770e5ec61c5da5b2e6cedcd3363c60b06
1 parent
693204c1
Exists in
master
and in
7 other branches
--no commit message
Showing
39 changed files
with
110 additions
and
105 deletions
Show diff stats
admin/abrefontemapfile.php
@@ -55,17 +55,17 @@ if(!isset($locaplic)) | @@ -55,17 +55,17 @@ if(!isset($locaplic)) | ||
55 | { | 55 | { |
56 | $locaplic = ""; | 56 | $locaplic = ""; |
57 | if(file_exists("../../../ms_configura.php")) | 57 | if(file_exists("../../../ms_configura.php")) |
58 | - {include_once("../../../ms_configura.php");} | 58 | + {include("../../../ms_configura.php");} |
59 | else | 59 | else |
60 | { | 60 | { |
61 | if(file_exists("../../ms_configura.php")) | 61 | if(file_exists("../../ms_configura.php")) |
62 | - {include_once("../../ms_configura.php");} | 62 | + {include("../../ms_configura.php");} |
63 | else | 63 | else |
64 | { | 64 | { |
65 | if(file_exists("../ms_configura.php")) | 65 | if(file_exists("../ms_configura.php")) |
66 | - {include_once("../ms_configura.php");} | 66 | + {include("../ms_configura.php");} |
67 | else | 67 | else |
68 | - include_once("ms_configura.php"); | 68 | + include("ms_configura.php"); |
69 | } | 69 | } |
70 | } | 70 | } |
71 | } | 71 | } |
admin/php/admin.php
@@ -37,17 +37,17 @@ if(!isset($locaplic)) | @@ -37,17 +37,17 @@ if(!isset($locaplic)) | ||
37 | { | 37 | { |
38 | $locaplic = ""; | 38 | $locaplic = ""; |
39 | if(file_exists("../../../ms_configura.php")) | 39 | if(file_exists("../../../ms_configura.php")) |
40 | - {include_once("../../../ms_configura.php");} | 40 | + {include("../../../ms_configura.php");} |
41 | else | 41 | else |
42 | { | 42 | { |
43 | if(file_exists("../../ms_configura.php")) | 43 | if(file_exists("../../ms_configura.php")) |
44 | - {include_once("../../ms_configura.php");} | 44 | + {include("../../ms_configura.php");} |
45 | else | 45 | else |
46 | { | 46 | { |
47 | if(file_exists("../ms_configura.php")) | 47 | if(file_exists("../ms_configura.php")) |
48 | - {include_once("../ms_configura.php");} | 48 | + {include("../ms_configura.php");} |
49 | else | 49 | else |
50 | - {include_once("ms_configura.php");} | 50 | + {include("ms_configura.php");} |
51 | } | 51 | } |
52 | } | 52 | } |
53 | } | 53 | } |
admin/php/parsemapfile.php
@@ -33,7 +33,7 @@ Arquivo: | @@ -33,7 +33,7 @@ Arquivo: | ||
33 | 33 | ||
34 | i3geo/admin/php/parsemapfile.php | 34 | i3geo/admin/php/parsemapfile.php |
35 | */ | 35 | */ |
36 | -include_once("../../ms_configura.php"); | 36 | +include("../../ms_configura.php"); |
37 | include_once("../../classesphp/funcoes_gerais.php"); | 37 | include_once("../../classesphp/funcoes_gerais.php"); |
38 | include_once("../../classesphp/carrega_ext.php"); | 38 | include_once("../../classesphp/carrega_ext.php"); |
39 | include_once("../../classesphp/pega_variaveis.php"); | 39 | include_once("../../classesphp/pega_variaveis.php"); |
admin/rsscomentariostemas.php
@@ -42,17 +42,17 @@ if(!isset($locaplic)) | @@ -42,17 +42,17 @@ if(!isset($locaplic)) | ||
42 | { | 42 | { |
43 | $locaplic = ""; | 43 | $locaplic = ""; |
44 | if(file_exists("../../../ms_configura.php")) | 44 | if(file_exists("../../../ms_configura.php")) |
45 | - {include_once("../../../ms_configura.php");} | 45 | + {include("../../../ms_configura.php");} |
46 | else | 46 | else |
47 | { | 47 | { |
48 | if(file_exists("../../ms_configura.php")) | 48 | if(file_exists("../../ms_configura.php")) |
49 | - {include_once("../../ms_configura.php");} | 49 | + {include("../../ms_configura.php");} |
50 | else | 50 | else |
51 | { | 51 | { |
52 | if(file_exists("../ms_configura.php")) | 52 | if(file_exists("../ms_configura.php")) |
53 | - {include_once("../ms_configura.php");} | 53 | + {include("../ms_configura.php");} |
54 | else | 54 | else |
55 | - include_once("ms_configura.php"); | 55 | + include("ms_configura.php"); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | } | 58 | } |
admin/rssgrupos.php
@@ -38,17 +38,17 @@ if(!isset($locaplic)) | @@ -38,17 +38,17 @@ if(!isset($locaplic)) | ||
38 | { | 38 | { |
39 | $locaplic = ""; | 39 | $locaplic = ""; |
40 | if(file_exists("../../../ms_configura.php")) | 40 | if(file_exists("../../../ms_configura.php")) |
41 | - {include_once("../../../ms_configura.php");} | 41 | + {include("../../../ms_configura.php");} |
42 | else | 42 | else |
43 | { | 43 | { |
44 | if(file_exists("../../ms_configura.php")) | 44 | if(file_exists("../../ms_configura.php")) |
45 | - {include_once("../../ms_configura.php");} | 45 | + {include("../../ms_configura.php");} |
46 | else | 46 | else |
47 | { | 47 | { |
48 | if(file_exists("../ms_configura.php")) | 48 | if(file_exists("../ms_configura.php")) |
49 | - {include_once("../ms_configura.php");} | 49 | + {include("../ms_configura.php");} |
50 | else | 50 | else |
51 | - include_once("ms_configura.php"); | 51 | + include("ms_configura.php"); |
52 | } | 52 | } |
53 | } | 53 | } |
54 | } | 54 | } |
admin/rsssubgrupos.php
@@ -43,17 +43,17 @@ if(!isset($locaplic)) | @@ -43,17 +43,17 @@ if(!isset($locaplic)) | ||
43 | { | 43 | { |
44 | $locaplic = ""; | 44 | $locaplic = ""; |
45 | if(file_exists("../../../ms_configura.php")) | 45 | if(file_exists("../../../ms_configura.php")) |
46 | - {include_once("../../../ms_configura.php");} | 46 | + {include("../../../ms_configura.php");} |
47 | else | 47 | else |
48 | { | 48 | { |
49 | if(file_exists("../../ms_configura.php")) | 49 | if(file_exists("../../ms_configura.php")) |
50 | - {include_once("../../ms_configura.php");} | 50 | + {include("../../ms_configura.php");} |
51 | else | 51 | else |
52 | { | 52 | { |
53 | if(file_exists("../ms_configura.php")) | 53 | if(file_exists("../ms_configura.php")) |
54 | - {include_once("../ms_configura.php");} | 54 | + {include("../ms_configura.php");} |
55 | else | 55 | else |
56 | - include_once("ms_configura.php"); | 56 | + include("ms_configura.php"); |
57 | } | 57 | } |
58 | } | 58 | } |
59 | } | 59 | } |
admin/rsstemas.php
@@ -43,17 +43,17 @@ if(!isset($locaplic)) | @@ -43,17 +43,17 @@ if(!isset($locaplic)) | ||
43 | { | 43 | { |
44 | $locaplic = ""; | 44 | $locaplic = ""; |
45 | if(file_exists("../../../ms_configura.php")) | 45 | if(file_exists("../../../ms_configura.php")) |
46 | - {include_once("../../../ms_configura.php");} | 46 | + {include("../../../ms_configura.php");} |
47 | else | 47 | else |
48 | { | 48 | { |
49 | if(file_exists("../../ms_configura.php")) | 49 | if(file_exists("../../ms_configura.php")) |
50 | - {include_once("../../ms_configura.php");} | 50 | + {include("../../ms_configura.php");} |
51 | else | 51 | else |
52 | { | 52 | { |
53 | if(file_exists("../ms_configura.php")) | 53 | if(file_exists("../ms_configura.php")) |
54 | - {include_once("../ms_configura.php");} | 54 | + {include("../ms_configura.php");} |
55 | else | 55 | else |
56 | - include_once("ms_configura.php"); | 56 | + include("ms_configura.php"); |
57 | } | 57 | } |
58 | } | 58 | } |
59 | } | 59 | } |
admin/rsstemasdownload.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/rsstemaskml.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/rsstemasogc.php
@@ -39,17 +39,17 @@ if(!isset($locaplic)) | @@ -39,17 +39,17 @@ if(!isset($locaplic)) | ||
39 | { | 39 | { |
40 | $locaplic = ""; | 40 | $locaplic = ""; |
41 | if(file_exists("../../../ms_configura.php")) | 41 | if(file_exists("../../../ms_configura.php")) |
42 | - {include_once("../../../ms_configura.php");} | 42 | + {include("../../../ms_configura.php");} |
43 | else | 43 | else |
44 | { | 44 | { |
45 | if(file_exists("../../ms_configura.php")) | 45 | if(file_exists("../../ms_configura.php")) |
46 | - {include_once("../../ms_configura.php");} | 46 | + {include("../../ms_configura.php");} |
47 | else | 47 | else |
48 | { | 48 | { |
49 | if(file_exists("../ms_configura.php")) | 49 | if(file_exists("../ms_configura.php")) |
50 | - {include_once("../ms_configura.php");} | 50 | + {include("../ms_configura.php");} |
51 | else | 51 | else |
52 | - include_once("ms_configura.php"); | 52 | + include("ms_configura.php"); |
53 | } | 53 | } |
54 | } | 54 | } |
55 | } | 55 | } |
admin/rsstemasraiz.php
@@ -45,17 +45,17 @@ if(!isset($locaplic)) | @@ -45,17 +45,17 @@ if(!isset($locaplic)) | ||
45 | { | 45 | { |
46 | $locaplic = ""; | 46 | $locaplic = ""; |
47 | if(file_exists("../../../ms_configura.php")) | 47 | if(file_exists("../../../ms_configura.php")) |
48 | - {include_once("../../../ms_configura.php");} | 48 | + {include("../../../ms_configura.php");} |
49 | else | 49 | else |
50 | { | 50 | { |
51 | if(file_exists("../../ms_configura.php")) | 51 | if(file_exists("../../ms_configura.php")) |
52 | - {include_once("../../ms_configura.php");} | 52 | + {include("../../ms_configura.php");} |
53 | else | 53 | else |
54 | { | 54 | { |
55 | if(file_exists("../ms_configura.php")) | 55 | if(file_exists("../ms_configura.php")) |
56 | - {include_once("../ms_configura.php");} | 56 | + {include("../ms_configura.php");} |
57 | else | 57 | else |
58 | - include_once("ms_configura.php"); | 58 | + include("ms_configura.php"); |
59 | } | 59 | } |
60 | } | 60 | } |
61 | } | 61 | } |
admin/xmlatlas.php
@@ -5,17 +5,17 @@ if(!isset($locaplic) || !isset($editores)) | @@ -5,17 +5,17 @@ if(!isset($locaplic) || !isset($editores)) | ||
5 | { | 5 | { |
6 | $locaplic = ""; | 6 | $locaplic = ""; |
7 | if(file_exists("../../../ms_configura.php")) | 7 | if(file_exists("../../../ms_configura.php")) |
8 | - {include_once("../../../ms_configura.php");} | 8 | + {include("../../../ms_configura.php");} |
9 | else | 9 | else |
10 | { | 10 | { |
11 | if(file_exists("../../ms_configura.php")) | 11 | if(file_exists("../../ms_configura.php")) |
12 | - {include_once("../../ms_configura.php");} | 12 | + {include("../../ms_configura.php");} |
13 | else | 13 | else |
14 | { | 14 | { |
15 | if(file_exists("../ms_configura.php")) | 15 | if(file_exists("../ms_configura.php")) |
16 | - {include_once("../ms_configura.php");} | 16 | + {include("../ms_configura.php");} |
17 | else | 17 | else |
18 | - include_once("ms_configura.php"); | 18 | + include("ms_configura.php"); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | } | 21 | } |
admin/xmlgeorss.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/xmlidentifica.php
@@ -44,17 +44,17 @@ if(!isset($locaplic) || !isset($editores)) | @@ -44,17 +44,17 @@ if(!isset($locaplic) || !isset($editores)) | ||
44 | { | 44 | { |
45 | $locaplic = ""; | 45 | $locaplic = ""; |
46 | if(file_exists("../../../ms_configura.php")) | 46 | if(file_exists("../../../ms_configura.php")) |
47 | - {include_once("../../../ms_configura.php");} | 47 | + {include("../../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../../ms_configura.php")) | 50 | if(file_exists("../../ms_configura.php")) |
51 | - {include_once("../../ms_configura.php");} | 51 | + {include("../../ms_configura.php");} |
52 | else | 52 | else |
53 | { | 53 | { |
54 | if(file_exists("../ms_configura.php")) | 54 | if(file_exists("../ms_configura.php")) |
55 | - {include_once("../ms_configura.php");} | 55 | + {include("../ms_configura.php");} |
56 | else | 56 | else |
57 | - include_once("ms_configura.php"); | 57 | + include("ms_configura.php"); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | } | 60 | } |
admin/xmlkmlrss.php
@@ -39,17 +39,17 @@ if(!isset($locaplic)) | @@ -39,17 +39,17 @@ if(!isset($locaplic)) | ||
39 | { | 39 | { |
40 | $locaplic = ""; | 40 | $locaplic = ""; |
41 | if(file_exists("../../../ms_configura.php")) | 41 | if(file_exists("../../../ms_configura.php")) |
42 | - {include_once("../../../ms_configura.php");} | 42 | + {include("../../../ms_configura.php");} |
43 | else | 43 | else |
44 | { | 44 | { |
45 | if(file_exists("../../ms_configura.php")) | 45 | if(file_exists("../../ms_configura.php")) |
46 | - {include_once("../../ms_configura.php");} | 46 | + {include("../../ms_configura.php");} |
47 | else | 47 | else |
48 | { | 48 | { |
49 | if(file_exists("../ms_configura.php")) | 49 | if(file_exists("../ms_configura.php")) |
50 | - {include_once("../ms_configura.php");} | 50 | + {include("../ms_configura.php");} |
51 | else | 51 | else |
52 | - include_once("ms_configura.php"); | 52 | + include("ms_configura.php"); |
53 | } | 53 | } |
54 | } | 54 | } |
55 | } | 55 | } |
admin/xmllinksdownload.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/xmlmapas.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/xmlmenutemas.php
@@ -4,17 +4,17 @@ if(!isset($locaplic)) | @@ -4,17 +4,17 @@ if(!isset($locaplic)) | ||
4 | { | 4 | { |
5 | $locaplic = ""; | 5 | $locaplic = ""; |
6 | if(file_exists("../../../ms_configura.php")) | 6 | if(file_exists("../../../ms_configura.php")) |
7 | - {include_once("../../../ms_configura.php");} | 7 | + {include("../../../ms_configura.php");} |
8 | else | 8 | else |
9 | { | 9 | { |
10 | if(file_exists("../../ms_configura.php")) | 10 | if(file_exists("../../ms_configura.php")) |
11 | - {include_once("../../ms_configura.php");} | 11 | + {include("../../ms_configura.php");} |
12 | else | 12 | else |
13 | { | 13 | { |
14 | if(file_exists("../ms_configura.php")) | 14 | if(file_exists("../ms_configura.php")) |
15 | - {include_once("../ms_configura.php");} | 15 | + {include("../ms_configura.php");} |
16 | else | 16 | else |
17 | - include_once("ms_configura.php"); | 17 | + include("ms_configura.php"); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | } | 20 | } |
admin/xmlservicoswms.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/xmlservicosws.php
@@ -40,17 +40,17 @@ if(!isset($locaplic)) | @@ -40,17 +40,17 @@ if(!isset($locaplic)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
admin/xmlsistemas.php
@@ -40,17 +40,17 @@ if(!isset($locaplic) || !isset($editores)) | @@ -40,17 +40,17 @@ if(!isset($locaplic) || !isset($editores)) | ||
40 | { | 40 | { |
41 | $locaplic = ""; | 41 | $locaplic = ""; |
42 | if(file_exists("../../../ms_configura.php")) | 42 | if(file_exists("../../../ms_configura.php")) |
43 | - {include_once("../../../ms_configura.php");} | 43 | + {include("../../../ms_configura.php");} |
44 | else | 44 | else |
45 | { | 45 | { |
46 | if(file_exists("../../ms_configura.php")) | 46 | if(file_exists("../../ms_configura.php")) |
47 | - {include_once("../../ms_configura.php");} | 47 | + {include("../../ms_configura.php");} |
48 | else | 48 | else |
49 | { | 49 | { |
50 | if(file_exists("../ms_configura.php")) | 50 | if(file_exists("../ms_configura.php")) |
51 | - {include_once("../ms_configura.php");} | 51 | + {include("../ms_configura.php");} |
52 | else | 52 | else |
53 | - include_once("ms_configura.php"); | 53 | + include("ms_configura.php"); |
54 | } | 54 | } |
55 | } | 55 | } |
56 | } | 56 | } |
classesphp/atlas_controle.php
@@ -117,9 +117,9 @@ if ($map_file != "") | @@ -117,9 +117,9 @@ if ($map_file != "") | ||
117 | if(!isset($locaplic)) | 117 | if(!isset($locaplic)) |
118 | { | 118 | { |
119 | if(file_exists("../ms_configura.php")) | 119 | if(file_exists("../ms_configura.php")) |
120 | - {include_once("../ms_configura.php");} | 120 | + {include("../ms_configura.php");} |
121 | else | 121 | else |
122 | - {include_once("ms_configura.php");} | 122 | + {include("ms_configura.php");} |
123 | } | 123 | } |
124 | include($locaplic."/admin/php/xml.php"); | 124 | include($locaplic."/admin/php/xml.php"); |
125 | $xml = simplexml_load_string(geraXmlAtlas($locaplic,$editores)); | 125 | $xml = simplexml_load_string(geraXmlAtlas($locaplic,$editores)); |
classesphp/classe_menutemas.php
@@ -66,7 +66,7 @@ $idioma - (opcional) pt|en|es|it | @@ -66,7 +66,7 @@ $idioma - (opcional) pt|en|es|it | ||
66 | if($editores == "") | 66 | if($editores == "") |
67 | { | 67 | { |
68 | if(file_exists("../ms_configura.php")) | 68 | if(file_exists("../ms_configura.php")) |
69 | - {include_once("../ms_configura.php");} | 69 | + {include("../ms_configura.php");} |
70 | } | 70 | } |
71 | $perfil = str_replace(" ",",",$perfil); | 71 | $perfil = str_replace(" ",",",$perfil); |
72 | $this->perfil = explode(",",$perfil); | 72 | $this->perfil = explode(",",$perfil); |
classesphp/flamingoogc.php
@@ -47,7 +47,7 @@ if (!function_exists('ms_GetVersion')) | @@ -47,7 +47,7 @@ if (!function_exists('ms_GetVersion')) | ||
47 | {dl('php_mapscript.so');} | 47 | {dl('php_mapscript.so');} |
48 | } | 48 | } |
49 | include_once("carrega_ext.php"); | 49 | include_once("carrega_ext.php"); |
50 | -include_once("../ms_configura.php"); | 50 | +include("../ms_configura.php"); |
51 | include_once("pega_variaveis.php"); | 51 | include_once("pega_variaveis.php"); |
52 | // | 52 | // |
53 | //cria o web service | 53 | //cria o web service |
classesphp/funcoes_gerais.php
@@ -2010,9 +2010,9 @@ function downloadTema2($map_file,$tema,$locaplic,$dir_tmp,$postgis_mapa) | @@ -2010,9 +2010,9 @@ function downloadTema2($map_file,$tema,$locaplic,$dir_tmp,$postgis_mapa) | ||
2010 | { | 2010 | { |
2011 | ini_set("max_execution_time","1800"); | 2011 | ini_set("max_execution_time","1800"); |
2012 | if(file_exists($locaplic."/ms_configura.php")) | 2012 | if(file_exists($locaplic."/ms_configura.php")) |
2013 | - include_once($locaplic."/ms_configura.php"); | 2013 | + include($locaplic."/ms_configura.php"); |
2014 | else | 2014 | else |
2015 | - include_once("../ms_configura.php"); | 2015 | + include("../ms_configura.php"); |
2016 | $versao = versao(); | 2016 | $versao = versao(); |
2017 | $versao = $versao["principal"]; | 2017 | $versao = $versao["principal"]; |
2018 | // | 2018 | // |
@@ -2260,8 +2260,13 @@ Return: | @@ -2260,8 +2260,13 @@ Return: | ||
2260 | function verificaDBF($arq){ | 2260 | function verificaDBF($arq){ |
2261 | if(function_exists("dbase_open")) | 2261 | if(function_exists("dbase_open")) |
2262 | $db = dbase_open($arq, 0); | 2262 | $db = dbase_open($arq, 0); |
2263 | - else | 2263 | + else{ |
2264 | + if(file_exists("../../pacotes/phpxbase/api_conversion.php")) | ||
2265 | + {include_once("../../pacotes/phpxbase/api_conversion.php");} | ||
2266 | + else | ||
2267 | + {include_once "../pacotes/phpxbase/api_conversion.php";} | ||
2264 | $db = xbase_open($arq, 0); | 2268 | $db = xbase_open($arq, 0); |
2269 | + } | ||
2265 | if ($db) { | 2270 | if ($db) { |
2266 | if(function_exists("dbase_numrecords")){ | 2271 | if(function_exists("dbase_numrecords")){ |
2267 | $record_numbers = dbase_numrecords($db); | 2272 | $record_numbers = dbase_numrecords($db); |
@@ -2419,9 +2424,9 @@ function autoClasses(&$nlayer,$mapa,$locaplic=null) | @@ -2419,9 +2424,9 @@ function autoClasses(&$nlayer,$mapa,$locaplic=null) | ||
2419 | if(!isset($locaplic)) | 2424 | if(!isset($locaplic)) |
2420 | { | 2425 | { |
2421 | if(file_exists("ms_configura.php")) | 2426 | if(file_exists("ms_configura.php")) |
2422 | - include_once("ms_configura.php"); | 2427 | + include("ms_configura.php"); |
2423 | else | 2428 | else |
2424 | - include_once("../ms_configura.php"); | 2429 | + include("../ms_configura.php"); |
2425 | } | 2430 | } |
2426 | else | 2431 | else |
2427 | {include_once("$locaplic/ms_configura.php");} | 2432 | {include_once("$locaplic/ms_configura.php");} |
classesphp/mapa_controle.php
@@ -2943,7 +2943,7 @@ Pega a lista de drives registrados para o usuário atual. | @@ -2943,7 +2943,7 @@ Pega a lista de drives registrados para o usuário atual. | ||
2943 | A lista de drives é definida no ms_configura e permite que o usuário navegue pelos arquivos do servidor. | 2943 | A lista de drives é definida no ms_configura e permite que o usuário navegue pelos arquivos do servidor. |
2944 | */ | 2944 | */ |
2945 | case "LISTADRIVES": | 2945 | case "LISTADRIVES": |
2946 | - include_once("../ms_configura.php"); | 2946 | + include("../ms_configura.php"); |
2947 | //verifica se está cadastrado | 2947 | //verifica se está cadastrado |
2948 | $ipcliente = pegaIPcliente(); | 2948 | $ipcliente = pegaIPcliente(); |
2949 | $retorno = array(); | 2949 | $retorno = array(); |
classesphp/parse_cgi.php
@@ -61,7 +61,7 @@ session_start(); | @@ -61,7 +61,7 @@ session_start(); | ||
61 | $mapext = $temp; | 61 | $mapext = $temp; |
62 | $map_file = $_SESSION["map_file"]; | 62 | $map_file = $_SESSION["map_file"]; |
63 | 63 | ||
64 | -include_once("../ms_configura.php"); | 64 | +include("../ms_configura.php"); |
65 | if(isset($fingerprint)) | 65 | if(isset($fingerprint)) |
66 | { | 66 | { |
67 | if (md5('I3GEOSEC' . $_SERVER['HTTP_USER_AGENT'] . session_id()) != $fingerprint) | 67 | if (md5('I3GEOSEC' . $_SERVER['HTTP_USER_AGENT'] . session_id()) != $fingerprint) |
classesphp/wmswfs.php
@@ -55,7 +55,7 @@ function gravaCacheWMS($servico) | @@ -55,7 +55,7 @@ function gravaCacheWMS($servico) | ||
55 | { | 55 | { |
56 | global $dir_tmp; | 56 | global $dir_tmp; |
57 | if($dir_tmp == "") | 57 | if($dir_tmp == "") |
58 | - {include_once("../ms_configura.php");} | 58 | + {include("../ms_configura.php");} |
59 | error_reporting(0); | 59 | error_reporting(0); |
60 | try{ | 60 | try{ |
61 | $teste = explode("=",$servico); | 61 | $teste = explode("=",$servico); |
classesphp/wscliente.php
@@ -50,7 +50,7 @@ include_once("pega_variaveis.php"); | @@ -50,7 +50,7 @@ include_once("pega_variaveis.php"); | ||
50 | include_once("lews/wms_functions.php"); | 50 | include_once("lews/wms_functions.php"); |
51 | include_once("../pacotes/cpaint/cpaint2.inc.php"); | 51 | include_once("../pacotes/cpaint/cpaint2.inc.php"); |
52 | include_once("carrega_ext.php"); | 52 | include_once("carrega_ext.php"); |
53 | -include_once("../ms_configura.php"); | 53 | +include("../ms_configura.php"); |
54 | $cp = new cpaint(); | 54 | $cp = new cpaint(); |
55 | // | 55 | // |
56 | //busca o getcapabilities de um wms | 56 | //busca o getcapabilities de um wms |
ferramentas/googlemaps/endereco.php
ferramentas/googlemaps/index.php
mobile/localizar.php
@@ -38,7 +38,7 @@ include_once ("../classesphp/pega_variaveis.php"); | @@ -38,7 +38,7 @@ include_once ("../classesphp/pega_variaveis.php"); | ||
38 | include_once("../classesphp/carrega_ext.php"); | 38 | include_once("../classesphp/carrega_ext.php"); |
39 | include_once("../classesphp/funcoes_gerais.php"); | 39 | include_once("../classesphp/funcoes_gerais.php"); |
40 | include_once("../classesphp/classe_mapa.php"); | 40 | include_once("../classesphp/classe_mapa.php"); |
41 | -include_once("../ms_configura.php"); | 41 | +include("../ms_configura.php"); |
42 | if (!isset($texto)) | 42 | if (!isset($texto)) |
43 | {$texto = "digite o texto";} | 43 | {$texto = "digite o texto";} |
44 | ?> | 44 | ?> |
mobile/localizarxy.php
@@ -39,7 +39,7 @@ require_once("../classesphp/funcoes_gerais.php"); | @@ -39,7 +39,7 @@ require_once("../classesphp/funcoes_gerais.php"); | ||
39 | include_once ("../classesphp/pega_variaveis.php"); | 39 | include_once ("../classesphp/pega_variaveis.php"); |
40 | include_once("../classesphp/carrega_ext.php"); | 40 | include_once("../classesphp/carrega_ext.php"); |
41 | include_once("../classesphp/funcoes_gerais.php"); | 41 | include_once("../classesphp/funcoes_gerais.php"); |
42 | -include_once("../ms_configura.php"); | 42 | +include("../ms_configura.php"); |
43 | 43 | ||
44 | if (isset($x) && $x != "") | 44 | if (isset($x) && $x != "") |
45 | { | 45 | { |
pacotes/facebookoauth/config.php
1 | <?php | 1 | <?php |
2 | -include_once("../../ms_configura.php"); | 2 | +include("../../ms_configura.php"); |
3 | define('FACEBOOK_APP_ID', $facebookoauth["consumerkey"]); | 3 | define('FACEBOOK_APP_ID', $facebookoauth["consumerkey"]); |
4 | define('FACEBOOK_SECRET', $facebookoauth["consumersecret"]); | 4 | define('FACEBOOK_SECRET', $facebookoauth["consumersecret"]); |
5 | ?> | 5 | ?> |
6 | \ No newline at end of file | 6 | \ No newline at end of file |
pacotes/kmlmapserver/classes/layerserver.class.php
@@ -948,9 +948,9 @@ class LayerServer { | @@ -948,9 +948,9 @@ class LayerServer { | ||
948 | { | 948 | { |
949 | $this->map_object = ms_newMapObj($this->map); | 949 | $this->map_object = ms_newMapObj($this->map); |
950 | if(file_exists("ms_configura.php")) | 950 | if(file_exists("ms_configura.php")) |
951 | - {include_once("ms_configura.php");} | 951 | + {include("ms_configura.php");} |
952 | else | 952 | else |
953 | - {include_once("../../ms_configura.php");} | 953 | + {include("../../ms_configura.php");} |
954 | if(!$this->_zipped) | 954 | if(!$this->_zipped) |
955 | $this->map_object->setmetadata('wms_onlineresource',$servidor.":80".$locmapserv."?map=".$temp."&width=1500&height=1500&"); | 955 | $this->map_object->setmetadata('wms_onlineresource',$servidor.":80".$locmapserv."?map=".$temp."&width=1500&height=1500&"); |
956 | $n = $this->map_object->numlayers; | 956 | $n = $this->map_object->numlayers; |
pacotes/linkedinoauth/example/index.php
1 | <?php | 1 | <?php |
2 | require_once("common.inc.php"); | 2 | require_once("common.inc.php"); |
3 | -include_once("../../../ms_configura.php"); | 3 | +include("../../../ms_configura.php"); |
4 | 4 | ||
5 | $test_consumer = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], NULL); | 5 | $test_consumer = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], NULL); |
6 | $req_token = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], 1); | 6 | $req_token = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], 1); |
pacotes/linkedinoauth/testLinkedinOauth.php
1 | <?php | 1 | <?php |
2 | require_once 'linkedin.php'; | 2 | require_once 'linkedin.php'; |
3 | -include_once("../../ms_configura.php"); | 3 | +include("../../ms_configura.php"); |
4 | $consumer_key = $linkedinoauth["consumerkey"]; | 4 | $consumer_key = $linkedinoauth["consumerkey"]; |
5 | $consumer_secret = $linkedinoauth["consumersecret"]; | 5 | $consumer_secret = $linkedinoauth["consumersecret"]; |
6 | echo "<pre>"; | 6 | echo "<pre>"; |
pacotes/openid/login.php
@@ -9,7 +9,7 @@ img | @@ -9,7 +9,7 @@ img | ||
9 | //http://localhost/i3geo/pacotes/openid/login.php?g_sid=dqpk71kh6ei121s4u5g1qb9vi1 | 9 | //http://localhost/i3geo/pacotes/openid/login.php?g_sid=dqpk71kh6ei121s4u5g1qb9vi1 |
10 | session_name("openid"); | 10 | session_name("openid"); |
11 | session_start(); | 11 | session_start(); |
12 | -include_once("../../ms_configura.php"); | 12 | +include("../../ms_configura.php"); |
13 | if($_SESSION["openid"] == false) | 13 | if($_SESSION["openid"] == false) |
14 | { | 14 | { |
15 | $dadosurl = array_merge($_GET,$_POST); | 15 | $dadosurl = array_merge($_GET,$_POST); |
pacotes/twitteroauth/config.php
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | * @file | 4 | * @file |
5 | * A single location to store configuration. | 5 | * A single location to store configuration. |
6 | */ | 6 | */ |
7 | -include_once("../../ms_configura.php"); | 7 | +include("../../ms_configura.php"); |
8 | define('CONSUMER_KEY', $twitteroauth["consumerkey"]); | 8 | define('CONSUMER_KEY', $twitteroauth["consumerkey"]); |
9 | define('CONSUMER_SECRET', $twitteroauth["consumersecret"]); | 9 | define('CONSUMER_SECRET', $twitteroauth["consumersecret"]); |
10 | $protocolo = explode("/",$_SERVER['SERVER_PROTOCOL']); | 10 | $protocolo = explode("/",$_SERVER['SERVER_PROTOCOL']); |