Skip to content

Commit

Permalink
Update one-click-install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Raruto authored Apr 17, 2018
1 parent 30de13a commit f667b49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions one-click-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ define('WP_DEBUG_DISPLAY', true);
*/
define('WP_MEMORY_LIMIT', '256M'); // front-end area
define('WP_MAX_MEMORY_LIMIT', '256M'); // wp-admin area
/**
* Trick: fix some relative paths
*/
define('WP_CONTENT_URL', 'https://'.$_SERVER['HTTP_HOST'].'/'.basename(__DIR__).'/wp-content');
PHP

wp db create
Expand Down

0 comments on commit f667b49

Please sign in to comment.