mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-07 05:44:58 +02:00
feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -797,13 +797,13 @@ var s;';
|
||||
$css = array();
|
||||
foreach ($smarty->get_template_vars('themes') as $theme)
|
||||
{
|
||||
$f = 'local/css/'.$theme['id'].'-rules.css';
|
||||
$f = PWG_LOCAL_DIR.'css/'.$theme['id'].'-rules.css';
|
||||
if (file_exists(PHPWG_ROOT_PATH.$f))
|
||||
{
|
||||
array_push($css, "{combine_css path='$f' order=10}");
|
||||
}
|
||||
}
|
||||
$f = 'local/css/rules.css';
|
||||
$f = PWG_LOCAL_DIR.'css/rules.css';
|
||||
if (file_exists(PHPWG_ROOT_PATH.$f))
|
||||
{
|
||||
array_push($css, "{combine_css path='$f' order=10}");
|
||||
@@ -1133,7 +1133,7 @@ class ScriptLoader
|
||||
/*Allows merging of javascript and css files into a single one.*/
|
||||
final class FileCombiner
|
||||
{
|
||||
const OUT_SUB_DIR = 'local/combined/';
|
||||
const OUT_SUB_DIR = PWG_COMBINED_DIR;
|
||||
private $type; // js or css
|
||||
private $files = array();
|
||||
private $versions = array();
|
||||
|
||||
Reference in New Issue
Block a user