mirror of
https://github.com/vrana/adminer.git
synced 2026-08-06 09:09:46 +02:00
Separate style
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@128 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -54,5 +54,6 @@ if ($_SESSION["lang"]) {
|
||||
$file = str_replace("<?php echo get_lang(); ?>", $_SESSION["lang"], $file);
|
||||
}
|
||||
$file = str_replace("favicon.ico", "data:image/x-icon;base64," . base64_encode(file_get_contents("favicon.ico")), $file);
|
||||
$file = str_replace('<link rel="stylesheet" type="text/css" href="default.css" />', "<style type='text/css'>\n" . file_get_contents("default.css") . "</style>", $file);
|
||||
file_put_contents($filename, $file);
|
||||
echo "$filename created.\n";
|
||||
|
||||
Reference in New Issue
Block a user