Changed To Exec

This commit is contained in:
Varun 2020-10-23 12:19:04 +05:30
parent d090847b5a
commit e039244121
No known key found for this signature in database
GPG key ID: 93FB46DCF16E0D6F

View file

@ -6,5 +6,5 @@ require_once __DIR__ . '/php/inputvar.php';
require_once __DIR__ . '/php/env.php';
function gh_gitconfig( $username = 'Github Action Bot', $email = 'githubactionbot@gmail.com' ) {
echo shell_exec( "gitconfig ${username} ${email}" );
echo exec( "gitconfig ${username} ${email}" );
}