first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions

18
src/dev/ckeditor4_head.php Executable file
View File

@@ -0,0 +1,18 @@
<?php
$contentCss = NULL;
if ($g_config['extrapacker']['packCss'] && $g_config['extrapacker']['dir'])
{
// Если мы в админке, то директория может быть переопределена, но изначальная должна быть сохранена в $g_config['extrapacker']['non_admin_dir']
$dir = isset($g_config['extrapacker']['non_admin_dir']) ? $g_config['extrapacker']['non_admin_dir'] : $g_config['extrapacker']['dir'];
$path = "tmp/{$dir}/css/";
$files = glob(BASEPATH . $path . "*.css");
if (count($files) > 0)
{
sort($files);
$file = end($files);
$contentCss = "/" . $path . basename($file);
}
}
?>