Merge pull request #1862 from knnniggett/ZM_SKIN_NAME
fix skin path in export_functions
This commit is contained in:
commit
d5ae0b8c3c
|
@ -105,6 +105,7 @@ if ( ! in_array( $css, $css_skins ) ) {
|
|||
}
|
||||
|
||||
define( "ZM_BASE_PATH", dirname( $_SERVER['REQUEST_URI'] ) );
|
||||
define( "ZM_SKIN_NAME", $skin );
|
||||
define( "ZM_SKIN_PATH", "skins/$skin" );
|
||||
|
||||
$skinBase = array(); // To allow for inheritance of skins
|
||||
|
|
|
@ -27,7 +27,7 @@ function exportHeader( $title )
|
|||
<title><?php echo $title ?></title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
<?php include( ZM_SKIN_PATH.'/css/export.css' ); ?>
|
||||
<?php include( ZM_SKIN_PATH.'/css/'.ZM_SKIN_NAME.'/export.css' ); ?>
|
||||
|
||||
|
||||
ul.tabs {
|
||||
|
|
Loading…
Reference in New Issue