Private GIT

Skip to content
Snippets Groups Projects
Commit 8c6acb6b authored by ck's avatar ck
Browse files

Remise en place des variables pour nuémro de version après avoir changé

les droits sur répertoire entre ck/nginx (770)
et vérifier les functions interdites dans php-fpm
parent 531deb23
Branches
No related tags found
No related merge requests found
...@@ -14,8 +14,9 @@ function valck_info() ...@@ -14,8 +14,9 @@ function valck_info()
/* Versioning of files - dev */ /* Versioning of files - dev */
//$versionAPP = exec('cd /home/ck/AddOn_Mybb/ckval/ && git rev-parse --short HEAD', $returnval ); // probleme de droit corrigé ajout ck to nginx group puis 770 / ck & nginx
//$versionAPP_long = exec('cd /home/ck/AddOn_Mybb/ckval/ && git rev-parse HEAD', $returnval ); $versionAPP = exec('cd /home/ck/AddOn_Mybb/ckval/ && git rev-parse --short HEAD', $returnval );
$versionAPP_long = exec('cd /home/ck/AddOn_Mybb/ckval/ && git rev-parse HEAD', $returnval );
// a retravailler voir : https://stackoverflow.com/questions/7447472/how-could-i-display-the-current-git-branch-name-at-the-top-of-the-page-of-my-de // a retravailler voir : https://stackoverflow.com/questions/7447472/how-could-i-display-the-current-git-branch-name-at-the-top-of-the-page-of-my-de
...@@ -34,7 +35,7 @@ EOT; ...@@ -34,7 +35,7 @@ EOT;
'website' => "https://www.ckforum.com", 'website' => "https://www.ckforum.com",
'author' => "ck", 'author' => "ck",
'authorsite' => "http://github.nailis.fr/ckbox/ckval/-/blob/master/upload/inc/plugins/valck.php", 'authorsite' => "http://github.nailis.fr/ckbox/ckval/-/blob/master/upload/inc/plugins/valck.php",
'version' => "1.3 - ".$branchname, 'version' => "1.3.1 - ".$versionAPP,
'compatibility' => "18*" 'compatibility' => "18*"
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment