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:
766 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.2
|
---|
8 | * @author Pavel Tzonkov <pavelc@users.sourceforge.net>
|
---|
9 | * @copyright 2010 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 | require "../../lib/helper_httpCache.php";
|
---|
16 |
|
---|
17 | $files = glob("*.js");
|
---|
18 |
|
---|
19 | foreach ($files as $file) {
|
---|
20 | $fmtime = filemtime($file);
|
---|
21 | if (!isset($mtime) || ($fmtime > $mtime))
|
---|
22 | $mtime = $fmtime;
|
---|
23 | }
|
---|
24 |
|
---|
25 | httpCache::checkMTime($mtime);
|
---|
26 |
|
---|
27 | header("Content-Type: text/javascript");
|
---|
28 | foreach ($files as $file)
|
---|
29 | require $file;
|
---|
30 |
|
---|
31 | ?> |
---|
Note:
See
TracBrowser
for help on using the repository browser.