Skip to content

Commit

Permalink
👀
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Jan 15, 2017
1 parent 1bf5e3a commit 0a16d7f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lib/Sage/PostCreateProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ public static function updateHeaders(Event $event)
$theme_headers['author'] = $io->ask('<info>Theme Author [<comment>'.$theme_headers_default['author'].'</comment>]:</info> ', $theme_headers_default['author']);
$theme_headers['author_uri'] = $io->ask('<info>Theme Author URI [<comment>'.$theme_headers_default['author_uri'].'</comment>]:</info> ', $theme_headers_default['author_uri']);

file_put_contents('style.css', str_replace($theme_headers_default['name'], $theme_headers['name'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default['uri'], $theme_headers['uri'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default['description'], $theme_headers['description'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default['version'], $theme_headers['version'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default['author'], $theme_headers['author'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default['author_uri'], $theme_headers['author_uri'], file_get_contents('style.css')));
file_put_contents('style.css', str_replace($theme_headers_default, $theme_headers, file_get_contents('style.css')));
}
}

Expand Down

0 comments on commit 0a16d7f

Please sign in to comment.