Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $authfile = '/etc/inc/authgui.inc' ;
- $page = file_get_contents($authfile);
- $search = 'value="<?=gettext("Login"); ?>" tabindex="3" />';
- $replace = $search . " sur <strong><?=\$config['system']['hostname']; ?></strong>";
- $result = str_replace($search,$replace,$page);
- if (file_put_contents($authfile,$result)) echo ' ✔ patch affichage hostname ok!';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement