|
@@ -1371,7 +1371,7 @@ function ThemeInstall()
|
|
|
package_flush_cache();
|
|
|
|
|
|
$theme_name = $_REQUEST['copy'];
|
|
|
- $images_url = $themedir . '/' . basename($theme_dir) . '/images';
|
|
|
+ $images_url = $boardurl . '/Themes/' . basename($theme_dir) . '/images';
|
|
|
$theme_dir = realpath($theme_dir);
|
|
|
|
|
|
// Lets get some data for the new theme.
|
|
@@ -1476,7 +1476,7 @@ function ThemeInstall()
|
|
|
// Defaults.
|
|
|
$install_info = array(
|
|
|
'theme_url' => $boardurl . '/Themes/' . basename($theme_dir),
|
|
|
- 'images_url' => isset($images_url) ? $images_url : $themedir . '/' . basename($theme_dir) . '/images',
|
|
|
+ 'images_url' => isset($images_url) ? $images_url : $boardurl . '/Themes/' . basename($theme_dir) . '/images',
|
|
|
'theme_dir' => $theme_dir,
|
|
|
'name' => $theme_name
|
|
|
);
|