New templating system

This commit is contained in:
Stéphane Goetz
2015-04-23 10:24:50 +02:00
parent de1214cbab
commit 52b679b33f
134 changed files with 529 additions and 592 deletions

View File

@ -10,18 +10,6 @@ class Helper
@mkdir($path . DS . 'resources');
static::copyRecursive($local_base . DS . 'resources', $path . DS . 'resources');
@mkdir($path . DS . 'js');
static::copyRecursive($local_base . DS . 'js', $path . DS . 'js');
//added and changed these in order to fetch the theme files and put them in the right place
@mkdir($path . DS . 'templates');
@mkdir($path . DS . 'templates' . DS . 'default');
@mkdir($path . DS . 'templates' . DS . 'default' . DS . 'themes');
static::copyRecursive(
$local_base . DS . 'templates' . DS . 'default' . DS . 'themes',
$path . DS . 'templates' . DS . 'default' . DS . 'themes'
);
}
private static function rmdir($dir)