create the translation folder at installation page
This commit is contained in:
@@ -47,7 +47,6 @@ class InstallerModule extends Controller
|
||||
$this->path_shared = PATH_TRUNK . 'shared/';
|
||||
$this->path_sep = PATH_SEP;
|
||||
$this->systemName = '';
|
||||
//$this->path_documents = ;
|
||||
$this->path_translations = PATH_CORE . 'js/labels/';
|
||||
$this->path_translationsMafe = PATH_HOME . 'public_html/translations/';
|
||||
}
|
||||
@@ -92,7 +91,6 @@ class InstallerModule extends Controller
|
||||
$this->setJSVar('path_translationsMafe', $this->path_translationsMafe);
|
||||
|
||||
$this->setView('installer/main');
|
||||
|
||||
G::RenderPage('publish', 'extJs');
|
||||
}
|
||||
|
||||
@@ -339,6 +337,7 @@ class InstallerModule extends Controller
|
||||
}
|
||||
|
||||
$info->pathTranslations = new stdclass();
|
||||
G::verifyPath($_REQUEST['pathTranslations'], true);
|
||||
$info->pathTranslations->message = G::LoadTranslation('ID_TRANSLATION_NOT_WRITEABLE');
|
||||
$info->pathTranslations->result = G::is_writable_r($_REQUEST['pathTranslations'], $noWritableFiles);
|
||||
if ($info->pathTranslations->result) {
|
||||
@@ -348,8 +347,11 @@ class InstallerModule extends Controller
|
||||
}
|
||||
|
||||
$info->pathTranslationsMafe = new stdclass();
|
||||
G::verifyPath($_REQUEST['pathTranslationsMafe'], true);
|
||||
|
||||
$info->pathTranslationsMafe->message = G::LoadTranslation('ID_MAFE_TRANSLATION_NOT_WRITEABLE');
|
||||
$info->pathTranslationsMafe->result = G::is_writable_r($_REQUEST['pathTranslationsMafe'], $noWritableFiles);
|
||||
|
||||
if ($info->pathTranslationsMafe->result) {
|
||||
$info->pathTranslationsMafe->message = $writable;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user