@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | use Xmf\Request; |
| 28 | 28 | use XoopsModules\Xoopsfaq; |
| 29 | 29 | |
| 30 | -require_once __DIR__ . '/admin_header.php'; |
|
| 30 | +require_once __DIR__.'/admin_header.php'; |
|
| 31 | 31 | xoops_cp_header(); |
| 32 | 32 | |
| 33 | 33 | /** @var Xoopsfaq\CategoryHandler $categoryHandler */ |
@@ -121,4 +121,4 @@ discard block |
||
| 121 | 121 | $categoryHandler->displayAdminListing('order'); |
| 122 | 122 | break; |
| 123 | 123 | } |
| 124 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 124 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | use Xmf\Module\Admin; |
| 27 | 27 | use XoopsModules\Xoopsfaq; |
| 28 | 28 | |
| 29 | -require dirname(__DIR__) . '/preloads/autoloader.php'; |
|
| 29 | +require dirname(__DIR__).'/preloads/autoloader.php'; |
|
| 30 | 30 | |
| 31 | 31 | /** @var \XoopsModules\Xoopsfaq\Helper $helper */ |
| 32 | 32 | $helper = Xoopsfaq\Helper::getInstance(); |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | use XoopsModules\Xoopsfaq; |
| 26 | 26 | |
| 27 | -require __DIR__ . '/admin_header.php'; |
|
| 27 | +require __DIR__.'/admin_header.php'; |
|
| 28 | 28 | xoops_cp_header(); |
| 29 | 29 | |
| 30 | 30 | /** @var Xoopsfaq\CategoryHandler $categoryHandler */ |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | $totalNonpublishedFaqs = $totalFaqs - $totalPublishedFaqs; |
| 54 | 54 | |
| 55 | 55 | $adminObject->addInfoBox(_AM_XOOPSFAQ_FAQ_CONF); |
| 56 | -$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">' . _AM_XOOPSFAQ_TOTAL_CATEGORIES . '</span>', '<span class="infotext green bold">' . $totalCats . '</span>')); |
|
| 57 | -$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">' . _AM_XOOPSFAQ_TOTAL_PUBLISHED . '</span>', '<span class="infotext green bold">' . $totalPublishedFaqs . '</span>')); |
|
| 58 | -$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">' . _AM_XOOPSFAQ_TOTAL_INACTIVE . '</span>', '<span class="infotext red bold">' . $totalNonpublishedFaqs . '</span>')); |
|
| 59 | -$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">' . _AM_XOOPSFAQ_TOTAL_FAQS . '</span>', '<span class="infotext green bold">' . $totalFaqs . '</span>')); |
|
| 56 | +$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">'._AM_XOOPSFAQ_TOTAL_CATEGORIES.'</span>', '<span class="infotext green bold">'.$totalCats.'</span>')); |
|
| 57 | +$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">'._AM_XOOPSFAQ_TOTAL_PUBLISHED.'</span>', '<span class="infotext green bold">'.$totalPublishedFaqs.'</span>')); |
|
| 58 | +$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">'._AM_XOOPSFAQ_TOTAL_INACTIVE.'</span>', '<span class="infotext red bold">'.$totalNonpublishedFaqs.'</span>')); |
|
| 59 | +$adminObject->addInfoBoxLine(sprintf('<span class="infolabel">'._AM_XOOPSFAQ_TOTAL_FAQS.'</span>', '<span class="infotext green bold">'.$totalFaqs.'</span>')); |
|
| 60 | 60 | |
| 61 | 61 | $adminObject->displayNavigation(basename(__FILE__)); |
| 62 | 62 | |
@@ -69,20 +69,20 @@ discard block |
||
| 69 | 69 | //------------- Test Data ---------------------------- |
| 70 | 70 | |
| 71 | 71 | if ($helper->getConfig('displaySampleButton')) { |
| 72 | - $yamlFile = dirname(__DIR__) . '/config/admin.yml'; |
|
| 72 | + $yamlFile = dirname(__DIR__).'/config/admin.yml'; |
|
| 73 | 73 | $config = loadAdminConfig($yamlFile); |
| 74 | 74 | $displaySampleButton = $config['displaySampleButton']; |
| 75 | 75 | |
| 76 | 76 | if (1 == $displaySampleButton) { |
| 77 | 77 | xoops_loadLanguage('admin/modulesadmin', 'system'); |
| 78 | - require dirname(__DIR__) . '/testdata/index.php'; |
|
| 78 | + require dirname(__DIR__).'/testdata/index.php'; |
|
| 79 | 79 | |
| 80 | - $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA'), './../testdata/index.php?op=load', 'add'); |
|
| 81 | - $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA'), './../testdata/index.php?op=save', 'add'); |
|
| 80 | + $adminObject->addItemButton(constant('CO_'.$moduleDirNameUpper.'_'.'ADD_SAMPLEDATA'), './../testdata/index.php?op=load', 'add'); |
|
| 81 | + $adminObject->addItemButton(constant('CO_'.$moduleDirNameUpper.'_'.'SAVE_SAMPLEDATA'), './../testdata/index.php?op=save', 'add'); |
|
| 82 | 82 | // $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA'), './../testdata/index.php?op=exportschema', 'add'); |
| 83 | - $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'HIDE_SAMPLEDATA_BUTTONS'), '?op=hide_buttons', 'delete'); |
|
| 83 | + $adminObject->addItemButton(constant('CO_'.$moduleDirNameUpper.'_'.'HIDE_SAMPLEDATA_BUTTONS'), '?op=hide_buttons', 'delete'); |
|
| 84 | 84 | } else { |
| 85 | - $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLEDATA_BUTTONS'), '?op=show_buttons', 'add'); |
|
| 85 | + $adminObject->addItemButton(constant('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLEDATA_BUTTONS'), '?op=show_buttons', 'add'); |
|
| 86 | 86 | $displaySampleButton = $config['displaySampleButton']; |
| 87 | 87 | } |
| 88 | 88 | $adminObject->displayButton('left', ''); |
@@ -138,4 +138,4 @@ discard block |
||
| 138 | 138 | echo $utility::getServerStats(); |
| 139 | 139 | |
| 140 | 140 | //codeDump(__FILE__); |
| 141 | -require __DIR__ . '/admin_footer.php'; |
|
| 141 | +require __DIR__.'/admin_footer.php'; |
|
@@ -27,8 +27,8 @@ |
||
| 27 | 27 | echo "<div class='adminfooter'> |
| 28 | 28 | " . " <div style='text-align: center;'> |
| 29 | 29 | " . " <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a> |
| 30 | -" . ' </div>' . ' |
|
| 31 | -' . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . ' |
|
| 30 | +".' </div>'.' |
|
| 31 | +' . ' '._AM_MODULEADMIN_ADMIN_FOOTER.' |
|
| 32 | 32 | ' . '</div>'; |
| 33 | 33 | |
| 34 | 34 | xoops_cp_footer(); |
@@ -18,8 +18,8 @@ discard block |
||
| 18 | 18 | use XoopsModules\Xoopsfaq\Common; |
| 19 | 19 | use XoopsModules\Xoopsfaq\Utility; |
| 20 | 20 | |
| 21 | -require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; |
|
| 22 | -require dirname(__DIR__) . '/preloads/autoloader.php'; |
|
| 21 | +require_once dirname(dirname(dirname(__DIR__))).'/include/cp_header.php'; |
|
| 22 | +require dirname(__DIR__).'/preloads/autoloader.php'; |
|
| 23 | 23 | |
| 24 | 24 | $op = \Xmf\Request::getCmd('op', ''); |
| 25 | 25 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | loadSampleData(); |
| 40 | 40 | } else { |
| 41 | 41 | xoops_cp_header(); |
| 42 | - xoops_confirm(['ok' => 1, 'op' => 'load'], 'index.php', sprintf(constant('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA_OK')), constant('CO_' . $moduleDirNameUpper . '_' . 'CONFIRM'), true); |
|
| 42 | + xoops_confirm(['ok' => 1, 'op' => 'load'], 'index.php', sprintf(constant('CO_'.$moduleDirNameUpper.'_'.'ADD_SAMPLEDATA_OK')), constant('CO_'.$moduleDirNameUpper.'_'.'CONFIRM'), true); |
|
| 43 | 43 | xoops_cp_footer(); |
| 44 | 44 | } |
| 45 | 45 | break; |
@@ -63,12 +63,12 @@ discard block |
||
| 63 | 63 | $tables = \Xmf\Module\Helper::getHelper($moduleDirName)->getModule()->getInfo('tables'); |
| 64 | 64 | |
| 65 | 65 | $language = 'english/'; |
| 66 | - if (is_dir(__DIR__ . '/' . $xoopsConfig['language'])) { |
|
| 67 | - $language = $xoopsConfig['language'] . '/'; |
|
| 66 | + if (is_dir(__DIR__.'/'.$xoopsConfig['language'])) { |
|
| 67 | + $language = $xoopsConfig['language'].'/'; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | foreach ($tables as $table) { |
| 71 | - $tabledata = \Xmf\Yaml::readWrapped($table . '.yml'); |
|
| 71 | + $tabledata = \Xmf\Yaml::readWrapped($table.'.yml'); |
|
| 72 | 72 | \Xmf\Database\TableLoad::truncateTable($table); |
| 73 | 73 | \Xmf\Database\TableLoad::loadTableFromArray($table, $tabledata); |
| 74 | 74 | } |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | $utility::rcopy($src, $dest); |
| 83 | 83 | } |
| 84 | 84 | } |
| 85 | - redirect_header('../admin/index.php', 1, constant('CO_' . $moduleDirNameUpper . '_' . 'SAMPLEDATA_SUCCESS')); |
|
| 85 | + redirect_header('../admin/index.php', 1, constant('CO_'.$moduleDirNameUpper.'_'.'SAMPLEDATA_SUCCESS')); |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | function saveSampleData() |
@@ -94,18 +94,18 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | $tables = \Xmf\Module\Helper::getHelper($moduleDirName)->getModule()->getInfo('tables'); |
| 96 | 96 | |
| 97 | - $languageFolder = __DIR__ . '/' . $xoopsConfig['language']; |
|
| 98 | - if (!file_exists($languageFolder . '/')) { |
|
| 99 | - Utility::createFolder($languageFolder . '/'); |
|
| 97 | + $languageFolder = __DIR__.'/'.$xoopsConfig['language']; |
|
| 98 | + if (!file_exists($languageFolder.'/')) { |
|
| 99 | + Utility::createFolder($languageFolder.'/'); |
|
| 100 | 100 | } |
| 101 | - $exportFolder = $languageFolder . '/Exports-' . date('Y-m-d-H-i-s') . '/'; |
|
| 101 | + $exportFolder = $languageFolder.'/Exports-'.date('Y-m-d-H-i-s').'/'; |
|
| 102 | 102 | Utility::createFolder($exportFolder); |
| 103 | 103 | |
| 104 | 104 | foreach ($tables as $table) { |
| 105 | - \Xmf\Database\TableLoad::saveTableToYamlFile($table, $exportFolder . $table . '.yml'); |
|
| 105 | + \Xmf\Database\TableLoad::saveTableToYamlFile($table, $exportFolder.$table.'.yml'); |
|
| 106 | 106 | } |
| 107 | 107 | |
| 108 | - redirect_header('../admin/index.php', 1, constant('CO_' . $moduleDirNameUpper . '_' . 'SAMPLEDATA_SUCCESS')); |
|
| 108 | + redirect_header('../admin/index.php', 1, constant('CO_'.$moduleDirNameUpper.'_'.'SAMPLEDATA_SUCCESS')); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | function exportSchema() |
@@ -120,6 +120,6 @@ discard block |
||
| 120 | 120 | // |
| 121 | 121 | // redirect_header('../admin/index.php', 1, constant('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_SUCCESS')); |
| 122 | 122 | } catch (\Exception $e) { |
| 123 | - exit(constant('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_ERROR')); |
|
| 123 | + exit(constant('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA_ERROR')); |
|
| 124 | 124 | } |
| 125 | 125 | } |
@@ -21,5 +21,5 @@ |
||
| 21 | 21 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License |
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | -require dirname(dirname(__DIR__)) . '/mainfile.php'; |
|
| 24 | +require dirname(dirname(__DIR__)).'/mainfile.php'; |
|
| 25 | 25 | require $GLOBALS['xoops']->path('include/comment_new.php'); |
@@ -10,8 +10,8 @@ discard block |
||
| 10 | 10 | // extra module configs |
| 11 | 11 | $modversion['config'][] = [ |
| 12 | 12 | 'name' => 'imageConfigs', |
| 13 | - 'title' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG', |
|
| 14 | - 'description' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG_DSC', |
|
| 13 | + 'title' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_CONFIG', |
|
| 14 | + 'description' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_CONFIG_DSC', |
|
| 15 | 15 | 'formtype' => 'line_break', |
| 16 | 16 | 'valuetype' => 'textbox', |
| 17 | 17 | 'default' => 'head', |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | $modversion['config'][] = [ |
| 21 | 21 | 'name' => 'imageWidth', |
| 22 | - 'title' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH', |
|
| 23 | - 'description' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH_DSC', |
|
| 22 | + 'title' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_WIDTH', |
|
| 23 | + 'description' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_WIDTH_DSC', |
|
| 24 | 24 | 'formtype' => 'textbox', |
| 25 | 25 | 'valuetype' => 'int', |
| 26 | 26 | 'default' => 1200, |
@@ -28,8 +28,8 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | $modversion['config'][] = [ |
| 30 | 30 | 'name' => 'imageHeight', |
| 31 | - 'title' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT', |
|
| 32 | - 'description' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT_DSC', |
|
| 31 | + 'title' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_HEIGHT', |
|
| 32 | + 'description' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_HEIGHT_DSC', |
|
| 33 | 33 | 'formtype' => 'textbox', |
| 34 | 34 | 'valuetype' => 'int', |
| 35 | 35 | 'default' => 800, |
@@ -37,10 +37,10 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | $modversion['config'][] = [ |
| 39 | 39 | 'name' => 'imageUploadPath', |
| 40 | - 'title' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH', |
|
| 41 | - 'description' => 'CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH_DSC', |
|
| 40 | + 'title' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_UPLOAD_PATH', |
|
| 41 | + 'description' => 'CO_'.$moduleDirNameUpper.'_'.'IMAGE_UPLOAD_PATH_DSC', |
|
| 42 | 42 | 'formtype' => 'textbox', |
| 43 | 43 | 'valuetype' => 'text', |
| 44 | - 'default' => 'uploads/' . $modversion['dirname'] . '/images', |
|
| 44 | + 'default' => 'uploads/'.$modversion['dirname'].'/images', |
|
| 45 | 45 | ]; |
| 46 | 46 | |
@@ -21,32 +21,32 @@ discard block |
||
| 21 | 21 | $moduleDirNameUpper = mb_strtoupper($moduleDirName); |
| 22 | 22 | |
| 23 | 23 | return (object)[ |
| 24 | - 'name' => mb_strtoupper($moduleDirName) . ' ModuleConfigurator', |
|
| 24 | + 'name' => mb_strtoupper($moduleDirName).' ModuleConfigurator', |
|
| 25 | 25 | 'paths' => [ |
| 26 | 26 | 'dirname' => $moduleDirName, |
| 27 | - 'admin' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin', |
|
| 28 | - 'modPath' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName, |
|
| 29 | - 'modUrl' => XOOPS_URL . '/modules/' . $moduleDirName, |
|
| 30 | - 'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 31 | - 'uploadUrl' => XOOPS_UPLOAD_URL . '/' . $moduleDirName, |
|
| 27 | + 'admin' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin', |
|
| 28 | + 'modPath' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName, |
|
| 29 | + 'modUrl' => XOOPS_URL.'/modules/'.$moduleDirName, |
|
| 30 | + 'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 31 | + 'uploadUrl' => XOOPS_UPLOAD_URL.'/'.$moduleDirName, |
|
| 32 | 32 | ], |
| 33 | 33 | 'uploadFolders' => [ |
| 34 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 35 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category', |
|
| 36 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots', |
|
| 34 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 35 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category', |
|
| 36 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots', |
|
| 37 | 37 | //XOOPS_UPLOAD_PATH . '/flags' |
| 38 | 38 | ], |
| 39 | 39 | 'copyBlankFiles' => [ |
| 40 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 41 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category', |
|
| 42 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots', |
|
| 40 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 41 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category', |
|
| 42 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots', |
|
| 43 | 43 | //XOOPS_UPLOAD_PATH . '/flags' |
| 44 | 44 | ], |
| 45 | 45 | |
| 46 | 46 | 'copyTestFolders' => [ |
| 47 | 47 | [ |
| 48 | - XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/uploads', |
|
| 49 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 48 | + XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/testdata/uploads', |
|
| 49 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 50 | 50 | ], |
| 51 | 51 | // [ |
| 52 | 52 | // XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/thumbs', |
@@ -83,6 +83,6 @@ discard block |
||
| 83 | 83 | // 'totalsubmitted' => $helper->getHandler('Item')->getItemsCount(-1, [Constants::PUBLISHER_STATUS_SUBMITTED]), |
| 84 | 84 | ], |
| 85 | 85 | 'modCopyright' => "<a href='https://xoops.org' title='XOOPS Project' target='_blank'> |
| 86 | - <img src='" . constant($moduleDirNameUpper . '_AUTHOR_LOGOIMG') . "' alt='XOOPS Project'></a>", |
|
| 86 | + <img src='" . constant($moduleDirNameUpper.'_AUTHOR_LOGOIMG')."' alt='XOOPS Project'></a>", |
|
| 87 | 87 | ]; |
| 88 | 88 | |
@@ -9,19 +9,19 @@ |
||
| 9 | 9 | $moduleDirNameUpper = mb_strtoupper($moduleDirName); |
| 10 | 10 | |
| 11 | 11 | return (object)[ |
| 12 | - 'name' => mb_strtoupper($moduleDirName) . ' PathConfigurator', |
|
| 12 | + 'name' => mb_strtoupper($moduleDirName).' PathConfigurator', |
|
| 13 | 13 | 'paths' => [ |
| 14 | 14 | 'dirname' => $moduleDirName, |
| 15 | - 'admin' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin', |
|
| 16 | - 'modPath' => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName, |
|
| 17 | - 'modUrl' => XOOPS_URL . '/modules/' . $moduleDirName, |
|
| 18 | - 'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 19 | - 'uploadUrl' => XOOPS_UPLOAD_URL . '/' . $moduleDirName, |
|
| 15 | + 'admin' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin', |
|
| 16 | + 'modPath' => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName, |
|
| 17 | + 'modUrl' => XOOPS_URL.'/modules/'.$moduleDirName, |
|
| 18 | + 'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 19 | + 'uploadUrl' => XOOPS_UPLOAD_URL.'/'.$moduleDirName, |
|
| 20 | 20 | ], |
| 21 | 21 | 'uploadFolders' => [ |
| 22 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName, |
|
| 23 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category', |
|
| 24 | - XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots', |
|
| 22 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName, |
|
| 23 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category', |
|
| 24 | + XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots', |
|
| 25 | 25 | //XOOPS_UPLOAD_PATH . '/flags' |
| 26 | 26 | ], |
| 27 | 27 | ]; |