Skip to content

Commit 6d3874a

Browse files
committed
WebApp: Bump package version
1 parent 5aee92a commit 6d3874a

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

bin/v-run-cli-cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ if [ "$realcmd" != '/bin/ps' -a \
5353
"$realcmd" != '/usr/bin/php7.1' -a \
5454
"$realcmd" != '/usr/bin/php7.2' -a \
5555
"$realcmd" != '/usr/bin/php7.3' -a \
56+
"$realcmd" != '/usr/bin/php7.4' -a \
5657
"$realcmd" != '/usr/bin/php' -a \
5758
"$clicmd" != 'composer' ]; then
5859
check_result $E_FORBIDEN "Error: Cli command not enabled"

web/add/webapp/index.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
}
3232

3333
$v_web_apps = [
34-
[ 'name'=>'Wordpress', 'group'=>'cms', 'enabled'=>true, 'version'=>'5.2.2', 'thumbnail'=>'/images/webapps/wp-thumb.png' ],
35-
[ 'name'=>'Drupal', 'group'=>'cms', 'enabled'=>false,'version'=>'1.2.3', 'thumbnail'=>'/images/webapps/drupal-thumb.png' ],
36-
[ 'name'=>'Joomla', 'group'=>'cms', 'enabled'=>false,'version'=>'1.2.3', 'thumbnail'=>'/images/webapps/joomla-thumb.png' ],
34+
[ 'name'=>'Wordpress', 'group'=>'cms', 'enabled'=>true, 'version'=>'5.2.4', 'thumbnail'=>'/images/webapps/wp-thumb.png' ],
35+
[ 'name'=>'Drupal', 'group'=>'cms', 'enabled'=>false,'version'=>'latest', 'thumbnail'=>'/images/webapps/drupal-thumb.png' ],
36+
[ 'name'=>'Joomla', 'group'=>'cms', 'enabled'=>false,'version'=>'latest', 'thumbnail'=>'/images/webapps/joomla-thumb.png' ],
3737

3838
[ 'name'=>'Opencart', 'group'=>'ecommerce', 'enabled'=>true, 'version'=>'3.0.3.2', 'thumbnail'=>'/images/webapps/opencart-thumb.png' ],
39-
[ 'name'=>'Prestashop', 'group'=>'ecommerce', 'enabled'=>true, 'version'=>'1.7.6.0', 'thumbnail'=>'/images/webapps/prestashop-thumb.png' ],
40-
[ 'name'=>'Magento', 'group'=>'ecommerce', 'enabled'=>false, 'version'=>'1.2.3', 'thumbnail'=>'/images/webapps/magento-thumb.png' ],
39+
[ 'name'=>'Prestashop', 'group'=>'ecommerce', 'enabled'=>true, 'version'=>'1.7.6.1', 'thumbnail'=>'/images/webapps/prestashop-thumb.png' ],
40+
[ 'name'=>'Magento', 'group'=>'ecommerce', 'enabled'=>false, 'version'=>'latest', 'thumbnail'=>'/images/webapps/magento-thumb.png' ],
4141

4242
[ 'name'=>'Laravel', 'group'=>'starter', 'enabled'=>true, 'version'=>'6.x', 'thumbnail'=>'/images/webapps/laravel-thumb.png' ],
4343
[ 'name'=>'Symfony', 'group'=>'starter', 'enabled'=>true, 'version'=>'4.3.x', 'thumbnail'=>'/images/webapps/symfony-thumb.png' ],

web/src/app/System/Util.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@
66

77
class Util
88
{
9+
/*
10+
* Method from: https://stackoverflow.com/a/15575293
11+
* https://stackoverflow.com/questions/1091107/how-to-join-filesystem-path-strings-in-php
12+
*/
913
public static function join_paths()
1014
{
1115
$paths = array();
12-
1316
foreach (func_get_args() as $arg) {
1417
if ($arg !== '') {
1518
$paths[] = $arg;
1619
}
1720
}
18-
1921
return preg_replace('#/+#', '/', join('/', $paths));
2022
}
2123

0 commit comments

Comments
 (0)