Last change
on this file since 239 was 239, checked in by luc, 9 years ago |
Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.
|
-
Property svn:executable
set to
*
|
File size:
919 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | /** This file is part of KCFinder project
|
---|
4 | *
|
---|
5 | * @desc Join all JavaScript files in current directory
|
---|
6 | * @package KCFinder
|
---|
7 | * @version 2.51
|
---|
8 | * @author Pavel Tzonkov <pavelc@users.sourceforge.net>
|
---|
9 | * @copyright 2010, 2011 KCFinder Project
|
---|
10 | * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
|
---|
11 | * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
|
---|
12 | * @link http://kcfinder.sunhater.com
|
---|
13 | */
|
---|
14 |
|
---|
15 | chdir(".."); // For compatibality
|
---|
16 | chdir("..");
|
---|
17 | require "lib/helper_httpCache.php";
|
---|
18 | require "lib/helper_dir.php";
|
---|
19 | $files = dir::content("js/browser", array(
|
---|
20 | 'types' => "file",
|
---|
21 | 'pattern' => '/^.*\.js$/'
|
---|
22 | ));
|
---|
23 |
|
---|
24 | foreach ($files as $file) {
|
---|
25 | $fmtime = filemtime($file);
|
---|
26 | if (!isset($mtime) || ($fmtime > $mtime))
|
---|
27 | $mtime = $fmtime;
|
---|
28 | }
|
---|
29 |
|
---|
30 | httpCache::checkMTime($mtime);
|
---|
31 | header("Content-Type: text/javascript");
|
---|
32 | foreach ($files as $file)
|
---|
33 | require $file;
|
---|
34 |
|
---|
35 | ?> |
---|
Note:
See
TracBrowser
for help on using the repository browser.