Commit 450423418903c4ce50f50ab625f91a3ce1721d6f
1 parent
4fb01d30
Exists in
master
and in
1 other branch
Gerente atualizado
- correção de erro de chamada de método - atualização de mensagens de idioma - correção de verificação de permissão para gravar config.php - mensagem em instador corrigida git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@264 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
4 changed files
with
6 additions
and
4 deletions
Show diff stats
instalador/ajax.php
... | ... | @@ -42,7 +42,7 @@ elseif(!isset($_SESSION['cacic_language'])) |
42 | 42 | /* |
43 | 43 | * Idioma para os quais o CACIC está traduzido |
44 | 44 | */ |
45 | -$_SESSION['cacic_language_available'] = getLanguages(); | |
45 | +$_SESSION['cacic_language_available'] = $oTranslator->getLanguagesSetup(); | |
46 | 46 | |
47 | 47 | /* |
48 | 48 | * classe para instanciar a instalação | ... | ... |
instalador/classes/install.php
... | ... | @@ -174,7 +174,7 @@ class Install { |
174 | 174 | /* |
175 | 175 | * verifica se é possivel escrever o arquivo de configurações para o CACIC |
176 | 176 | */ |
177 | - if (is_writable(CACIC_CFGFILE_PATH)) { | |
177 | + if (is_writable(CACIC_CFGFILE_PATH.CACIC_DS."config.php")) { | |
178 | 178 | $this->oTmpl->addVar('tmplNavBarCheckInstall', 'CFGFILE_STATUS', $oTranslator->_('kciq_msg yes')); |
179 | 179 | $this->oTmpl->addVar('tmplNavBarCheckInstall', 'CFGFILE_CLASS', "SimImg"); |
180 | 180 | $_SESSION['saveCfgFile'] = true; | ... | ... |
instalador/index.php
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 | */ |
29 | 29 | if( ! @include("../include/library.php") ) |
30 | 30 | { |
31 | - die("Install mal definido (Install miss-defined)!"); | |
31 | + die("Instalador mal definido (Installer miss-defined)!"); | |
32 | 32 | } |
33 | 33 | |
34 | 34 | /* |
... | ... | @@ -73,4 +73,4 @@ |
73 | 73 | |
74 | 74 | $objInstall->end(); |
75 | 75 | |
76 | -?> | |
77 | 76 | \ No newline at end of file |
77 | +?> | ... | ... |
language/en_US/language.en_US.inc.php
... | ... | @@ -8,11 +8,13 @@ en_US instalador |
8 | 8 | en_US kciq_msg legenda geral info Legend |
9 | 9 | en_US manutenção geral TagHeader Maintenance |
10 | 10 | en_US kciq_msg mensagem Geral Message |
11 | +en_US kciq_msg no geral info No | |
11 | 12 | en_US kciq_msg access level Geral info Access level |
12 | 13 | en_US kciq_menu fast search Geral Search |
13 | 14 | en_US kciq_menu search Geral info Search |
14 | 15 | en_US kciq_msg next Geral info Next |
15 | 16 | en_US kciq_msg password Geral info Password |
17 | +en_US kciq_msg yes geral info Yes | |
16 | 18 | en_US kciq_msg user Geral info User |
17 | 19 | en_US kciq_msg aceitar instalador Accept |
18 | 20 | en_US kciq_msg aceito instalador I accept this license | ... | ... |