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 | 55 | { |
| 56 | 56 | $locaplic = ""; |
| 57 | 57 | if(file_exists("../../../ms_configura.php")) |
| 58 | - {include_once("../../../ms_configura.php");} | |
| 58 | + {include("../../../ms_configura.php");} | |
| 59 | 59 | else |
| 60 | 60 | { |
| 61 | 61 | if(file_exists("../../ms_configura.php")) |
| 62 | - {include_once("../../ms_configura.php");} | |
| 62 | + {include("../../ms_configura.php");} | |
| 63 | 63 | else |
| 64 | 64 | { |
| 65 | 65 | if(file_exists("../ms_configura.php")) |
| 66 | - {include_once("../ms_configura.php");} | |
| 66 | + {include("../ms_configura.php");} | |
| 67 | 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 | 37 | { |
| 38 | 38 | $locaplic = ""; |
| 39 | 39 | if(file_exists("../../../ms_configura.php")) |
| 40 | - {include_once("../../../ms_configura.php");} | |
| 40 | + {include("../../../ms_configura.php");} | |
| 41 | 41 | else |
| 42 | 42 | { |
| 43 | 43 | if(file_exists("../../ms_configura.php")) |
| 44 | - {include_once("../../ms_configura.php");} | |
| 44 | + {include("../../ms_configura.php");} | |
| 45 | 45 | else |
| 46 | 46 | { |
| 47 | 47 | if(file_exists("../ms_configura.php")) |
| 48 | - {include_once("../ms_configura.php");} | |
| 48 | + {include("../ms_configura.php");} | |
| 49 | 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 | 33 | |
| 34 | 34 | i3geo/admin/php/parsemapfile.php |
| 35 | 35 | */ |
| 36 | -include_once("../../ms_configura.php"); | |
| 36 | +include("../../ms_configura.php"); | |
| 37 | 37 | include_once("../../classesphp/funcoes_gerais.php"); |
| 38 | 38 | include_once("../../classesphp/carrega_ext.php"); |
| 39 | 39 | include_once("../../classesphp/pega_variaveis.php"); | ... | ... |
admin/rsscomentariostemas.php
| ... | ... | @@ -42,17 +42,17 @@ if(!isset($locaplic)) |
| 42 | 42 | { |
| 43 | 43 | $locaplic = ""; |
| 44 | 44 | if(file_exists("../../../ms_configura.php")) |
| 45 | - {include_once("../../../ms_configura.php");} | |
| 45 | + {include("../../../ms_configura.php");} | |
| 46 | 46 | else |
| 47 | 47 | { |
| 48 | 48 | if(file_exists("../../ms_configura.php")) |
| 49 | - {include_once("../../ms_configura.php");} | |
| 49 | + {include("../../ms_configura.php");} | |
| 50 | 50 | else |
| 51 | 51 | { |
| 52 | 52 | if(file_exists("../ms_configura.php")) |
| 53 | - {include_once("../ms_configura.php");} | |
| 53 | + {include("../ms_configura.php");} | |
| 54 | 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 | 38 | { |
| 39 | 39 | $locaplic = ""; |
| 40 | 40 | if(file_exists("../../../ms_configura.php")) |
| 41 | - {include_once("../../../ms_configura.php");} | |
| 41 | + {include("../../../ms_configura.php");} | |
| 42 | 42 | else |
| 43 | 43 | { |
| 44 | 44 | if(file_exists("../../ms_configura.php")) |
| 45 | - {include_once("../../ms_configura.php");} | |
| 45 | + {include("../../ms_configura.php");} | |
| 46 | 46 | else |
| 47 | 47 | { |
| 48 | 48 | if(file_exists("../ms_configura.php")) |
| 49 | - {include_once("../ms_configura.php");} | |
| 49 | + {include("../ms_configura.php");} | |
| 50 | 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 | 43 | { |
| 44 | 44 | $locaplic = ""; |
| 45 | 45 | if(file_exists("../../../ms_configura.php")) |
| 46 | - {include_once("../../../ms_configura.php");} | |
| 46 | + {include("../../../ms_configura.php");} | |
| 47 | 47 | else |
| 48 | 48 | { |
| 49 | 49 | if(file_exists("../../ms_configura.php")) |
| 50 | - {include_once("../../ms_configura.php");} | |
| 50 | + {include("../../ms_configura.php");} | |
| 51 | 51 | else |
| 52 | 52 | { |
| 53 | 53 | if(file_exists("../ms_configura.php")) |
| 54 | - {include_once("../ms_configura.php");} | |
| 54 | + {include("../ms_configura.php");} | |
| 55 | 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 | 43 | { |
| 44 | 44 | $locaplic = ""; |
| 45 | 45 | if(file_exists("../../../ms_configura.php")) |
| 46 | - {include_once("../../../ms_configura.php");} | |
| 46 | + {include("../../../ms_configura.php");} | |
| 47 | 47 | else |
| 48 | 48 | { |
| 49 | 49 | if(file_exists("../../ms_configura.php")) |
| 50 | - {include_once("../../ms_configura.php");} | |
| 50 | + {include("../../ms_configura.php");} | |
| 51 | 51 | else |
| 52 | 52 | { |
| 53 | 53 | if(file_exists("../ms_configura.php")) |
| 54 | - {include_once("../ms_configura.php");} | |
| 54 | + {include("../ms_configura.php");} | |
| 55 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 39 | { |
| 40 | 40 | $locaplic = ""; |
| 41 | 41 | if(file_exists("../../../ms_configura.php")) |
| 42 | - {include_once("../../../ms_configura.php");} | |
| 42 | + {include("../../../ms_configura.php");} | |
| 43 | 43 | else |
| 44 | 44 | { |
| 45 | 45 | if(file_exists("../../ms_configura.php")) |
| 46 | - {include_once("../../ms_configura.php");} | |
| 46 | + {include("../../ms_configura.php");} | |
| 47 | 47 | else |
| 48 | 48 | { |
| 49 | 49 | if(file_exists("../ms_configura.php")) |
| 50 | - {include_once("../ms_configura.php");} | |
| 50 | + {include("../ms_configura.php");} | |
| 51 | 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 | 45 | { |
| 46 | 46 | $locaplic = ""; |
| 47 | 47 | if(file_exists("../../../ms_configura.php")) |
| 48 | - {include_once("../../../ms_configura.php");} | |
| 48 | + {include("../../../ms_configura.php");} | |
| 49 | 49 | else |
| 50 | 50 | { |
| 51 | 51 | if(file_exists("../../ms_configura.php")) |
| 52 | - {include_once("../../ms_configura.php");} | |
| 52 | + {include("../../ms_configura.php");} | |
| 53 | 53 | else |
| 54 | 54 | { |
| 55 | 55 | if(file_exists("../ms_configura.php")) |
| 56 | - {include_once("../ms_configura.php");} | |
| 56 | + {include("../ms_configura.php");} | |
| 57 | 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 | 5 | { |
| 6 | 6 | $locaplic = ""; |
| 7 | 7 | if(file_exists("../../../ms_configura.php")) |
| 8 | - {include_once("../../../ms_configura.php");} | |
| 8 | + {include("../../../ms_configura.php");} | |
| 9 | 9 | else |
| 10 | 10 | { |
| 11 | 11 | if(file_exists("../../ms_configura.php")) |
| 12 | - {include_once("../../ms_configura.php");} | |
| 12 | + {include("../../ms_configura.php");} | |
| 13 | 13 | else |
| 14 | 14 | { |
| 15 | 15 | if(file_exists("../ms_configura.php")) |
| 16 | - {include_once("../ms_configura.php");} | |
| 16 | + {include("../ms_configura.php");} | |
| 17 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 44 | { |
| 45 | 45 | $locaplic = ""; |
| 46 | 46 | if(file_exists("../../../ms_configura.php")) |
| 47 | - {include_once("../../../ms_configura.php");} | |
| 47 | + {include("../../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../../ms_configura.php")) |
| 51 | - {include_once("../../ms_configura.php");} | |
| 51 | + {include("../../ms_configura.php");} | |
| 52 | 52 | else |
| 53 | 53 | { |
| 54 | 54 | if(file_exists("../ms_configura.php")) |
| 55 | - {include_once("../ms_configura.php");} | |
| 55 | + {include("../ms_configura.php");} | |
| 56 | 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 | 39 | { |
| 40 | 40 | $locaplic = ""; |
| 41 | 41 | if(file_exists("../../../ms_configura.php")) |
| 42 | - {include_once("../../../ms_configura.php");} | |
| 42 | + {include("../../../ms_configura.php");} | |
| 43 | 43 | else |
| 44 | 44 | { |
| 45 | 45 | if(file_exists("../../ms_configura.php")) |
| 46 | - {include_once("../../ms_configura.php");} | |
| 46 | + {include("../../ms_configura.php");} | |
| 47 | 47 | else |
| 48 | 48 | { |
| 49 | 49 | if(file_exists("../ms_configura.php")) |
| 50 | - {include_once("../ms_configura.php");} | |
| 50 | + {include("../ms_configura.php");} | |
| 51 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 4 | { |
| 5 | 5 | $locaplic = ""; |
| 6 | 6 | if(file_exists("../../../ms_configura.php")) |
| 7 | - {include_once("../../../ms_configura.php");} | |
| 7 | + {include("../../../ms_configura.php");} | |
| 8 | 8 | else |
| 9 | 9 | { |
| 10 | 10 | if(file_exists("../../ms_configura.php")) |
| 11 | - {include_once("../../ms_configura.php");} | |
| 11 | + {include("../../ms_configura.php");} | |
| 12 | 12 | else |
| 13 | 13 | { |
| 14 | 14 | if(file_exists("../ms_configura.php")) |
| 15 | - {include_once("../ms_configura.php");} | |
| 15 | + {include("../ms_configura.php");} | |
| 16 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 40 | { |
| 41 | 41 | $locaplic = ""; |
| 42 | 42 | if(file_exists("../../../ms_configura.php")) |
| 43 | - {include_once("../../../ms_configura.php");} | |
| 43 | + {include("../../../ms_configura.php");} | |
| 44 | 44 | else |
| 45 | 45 | { |
| 46 | 46 | if(file_exists("../../ms_configura.php")) |
| 47 | - {include_once("../../ms_configura.php");} | |
| 47 | + {include("../../ms_configura.php");} | |
| 48 | 48 | else |
| 49 | 49 | { |
| 50 | 50 | if(file_exists("../ms_configura.php")) |
| 51 | - {include_once("../ms_configura.php");} | |
| 51 | + {include("../ms_configura.php");} | |
| 52 | 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 | 117 | if(!isset($locaplic)) |
| 118 | 118 | { |
| 119 | 119 | if(file_exists("../ms_configura.php")) |
| 120 | - {include_once("../ms_configura.php");} | |
| 120 | + {include("../ms_configura.php");} | |
| 121 | 121 | else |
| 122 | - {include_once("ms_configura.php");} | |
| 122 | + {include("ms_configura.php");} | |
| 123 | 123 | } |
| 124 | 124 | include($locaplic."/admin/php/xml.php"); |
| 125 | 125 | $xml = simplexml_load_string(geraXmlAtlas($locaplic,$editores)); | ... | ... |
classesphp/classe_menutemas.php
| ... | ... | @@ -66,7 +66,7 @@ $idioma - (opcional) pt|en|es|it |
| 66 | 66 | if($editores == "") |
| 67 | 67 | { |
| 68 | 68 | if(file_exists("../ms_configura.php")) |
| 69 | - {include_once("../ms_configura.php");} | |
| 69 | + {include("../ms_configura.php");} | |
| 70 | 70 | } |
| 71 | 71 | $perfil = str_replace(" ",",",$perfil); |
| 72 | 72 | $this->perfil = explode(",",$perfil); | ... | ... |
classesphp/flamingoogc.php
| ... | ... | @@ -47,7 +47,7 @@ if (!function_exists('ms_GetVersion')) |
| 47 | 47 | {dl('php_mapscript.so');} |
| 48 | 48 | } |
| 49 | 49 | include_once("carrega_ext.php"); |
| 50 | -include_once("../ms_configura.php"); | |
| 50 | +include("../ms_configura.php"); | |
| 51 | 51 | include_once("pega_variaveis.php"); |
| 52 | 52 | // |
| 53 | 53 | //cria o web service | ... | ... |
classesphp/funcoes_gerais.php
| ... | ... | @@ -2010,9 +2010,9 @@ function downloadTema2($map_file,$tema,$locaplic,$dir_tmp,$postgis_mapa) |
| 2010 | 2010 | { |
| 2011 | 2011 | ini_set("max_execution_time","1800"); |
| 2012 | 2012 | if(file_exists($locaplic."/ms_configura.php")) |
| 2013 | - include_once($locaplic."/ms_configura.php"); | |
| 2013 | + include($locaplic."/ms_configura.php"); | |
| 2014 | 2014 | else |
| 2015 | - include_once("../ms_configura.php"); | |
| 2015 | + include("../ms_configura.php"); | |
| 2016 | 2016 | $versao = versao(); |
| 2017 | 2017 | $versao = $versao["principal"]; |
| 2018 | 2018 | // |
| ... | ... | @@ -2260,8 +2260,13 @@ Return: |
| 2260 | 2260 | function verificaDBF($arq){ |
| 2261 | 2261 | if(function_exists("dbase_open")) |
| 2262 | 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 | 2268 | $db = xbase_open($arq, 0); |
| 2269 | + } | |
| 2265 | 2270 | if ($db) { |
| 2266 | 2271 | if(function_exists("dbase_numrecords")){ |
| 2267 | 2272 | $record_numbers = dbase_numrecords($db); |
| ... | ... | @@ -2419,9 +2424,9 @@ function autoClasses(&$nlayer,$mapa,$locaplic=null) |
| 2419 | 2424 | if(!isset($locaplic)) |
| 2420 | 2425 | { |
| 2421 | 2426 | if(file_exists("ms_configura.php")) |
| 2422 | - include_once("ms_configura.php"); | |
| 2427 | + include("ms_configura.php"); | |
| 2423 | 2428 | else |
| 2424 | - include_once("../ms_configura.php"); | |
| 2429 | + include("../ms_configura.php"); | |
| 2425 | 2430 | } |
| 2426 | 2431 | else |
| 2427 | 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 | 2943 | A lista de drives é definida no ms_configura e permite que o usuário navegue pelos arquivos do servidor. |
| 2944 | 2944 | */ |
| 2945 | 2945 | case "LISTADRIVES": |
| 2946 | - include_once("../ms_configura.php"); | |
| 2946 | + include("../ms_configura.php"); | |
| 2947 | 2947 | //verifica se está cadastrado |
| 2948 | 2948 | $ipcliente = pegaIPcliente(); |
| 2949 | 2949 | $retorno = array(); | ... | ... |
classesphp/parse_cgi.php
| ... | ... | @@ -61,7 +61,7 @@ session_start(); |
| 61 | 61 | $mapext = $temp; |
| 62 | 62 | $map_file = $_SESSION["map_file"]; |
| 63 | 63 | |
| 64 | -include_once("../ms_configura.php"); | |
| 64 | +include("../ms_configura.php"); | |
| 65 | 65 | if(isset($fingerprint)) |
| 66 | 66 | { |
| 67 | 67 | if (md5('I3GEOSEC' . $_SERVER['HTTP_USER_AGENT'] . session_id()) != $fingerprint) | ... | ... |
classesphp/wmswfs.php
classesphp/wscliente.php
| ... | ... | @@ -50,7 +50,7 @@ include_once("pega_variaveis.php"); |
| 50 | 50 | include_once("lews/wms_functions.php"); |
| 51 | 51 | include_once("../pacotes/cpaint/cpaint2.inc.php"); |
| 52 | 52 | include_once("carrega_ext.php"); |
| 53 | -include_once("../ms_configura.php"); | |
| 53 | +include("../ms_configura.php"); | |
| 54 | 54 | $cp = new cpaint(); |
| 55 | 55 | // |
| 56 | 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 | 38 | include_once("../classesphp/carrega_ext.php"); |
| 39 | 39 | include_once("../classesphp/funcoes_gerais.php"); |
| 40 | 40 | include_once("../classesphp/classe_mapa.php"); |
| 41 | -include_once("../ms_configura.php"); | |
| 41 | +include("../ms_configura.php"); | |
| 42 | 42 | if (!isset($texto)) |
| 43 | 43 | {$texto = "digite o texto";} |
| 44 | 44 | ?> | ... | ... |
mobile/localizarxy.php
| ... | ... | @@ -39,7 +39,7 @@ require_once("../classesphp/funcoes_gerais.php"); |
| 39 | 39 | include_once ("../classesphp/pega_variaveis.php"); |
| 40 | 40 | include_once("../classesphp/carrega_ext.php"); |
| 41 | 41 | include_once("../classesphp/funcoes_gerais.php"); |
| 42 | -include_once("../ms_configura.php"); | |
| 42 | +include("../ms_configura.php"); | |
| 43 | 43 | |
| 44 | 44 | if (isset($x) && $x != "") |
| 45 | 45 | { | ... | ... |
pacotes/facebookoauth/config.php
pacotes/kmlmapserver/classes/layerserver.class.php
| ... | ... | @@ -948,9 +948,9 @@ class LayerServer { |
| 948 | 948 | { |
| 949 | 949 | $this->map_object = ms_newMapObj($this->map); |
| 950 | 950 | if(file_exists("ms_configura.php")) |
| 951 | - {include_once("ms_configura.php");} | |
| 951 | + {include("ms_configura.php");} | |
| 952 | 952 | else |
| 953 | - {include_once("../../ms_configura.php");} | |
| 953 | + {include("../../ms_configura.php");} | |
| 954 | 954 | if(!$this->_zipped) |
| 955 | 955 | $this->map_object->setmetadata('wms_onlineresource',$servidor.":80".$locmapserv."?map=".$temp."&width=1500&height=1500&"); |
| 956 | 956 | $n = $this->map_object->numlayers; | ... | ... |
pacotes/linkedinoauth/example/index.php
| 1 | 1 | <?php |
| 2 | 2 | require_once("common.inc.php"); |
| 3 | -include_once("../../../ms_configura.php"); | |
| 3 | +include("../../../ms_configura.php"); | |
| 4 | 4 | |
| 5 | 5 | $test_consumer = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], NULL); |
| 6 | 6 | $req_token = new OAuthConsumer($linkedinoauth["consumerkey"], $linkedinoauth["consumersecret"], 1); | ... | ... |
pacotes/linkedinoauth/testLinkedinOauth.php
pacotes/openid/login.php
| ... | ... | @@ -9,7 +9,7 @@ img |
| 9 | 9 | //http://localhost/i3geo/pacotes/openid/login.php?g_sid=dqpk71kh6ei121s4u5g1qb9vi1 |
| 10 | 10 | session_name("openid"); |
| 11 | 11 | session_start(); |
| 12 | -include_once("../../ms_configura.php"); | |
| 12 | +include("../../ms_configura.php"); | |
| 13 | 13 | if($_SESSION["openid"] == false) |
| 14 | 14 | { |
| 15 | 15 | $dadosurl = array_merge($_GET,$_POST); | ... | ... |
pacotes/twitteroauth/config.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * @file |
| 5 | 5 | * A single location to store configuration. |
| 6 | 6 | */ |
| 7 | -include_once("../../ms_configura.php"); | |
| 7 | +include("../../ms_configura.php"); | |
| 8 | 8 | define('CONSUMER_KEY', $twitteroauth["consumerkey"]); |
| 9 | 9 | define('CONSUMER_SECRET', $twitteroauth["consumersecret"]); |
| 10 | 10 | $protocolo = explode("/",$_SERVER['SERVER_PROTOCOL']); | ... | ... |