projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e0a3a06
)
Asset.php
author
Alan Knowles
<alan@roojs.com>
Thu, 16 Aug 2018 00:37:54 +0000
(08:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 16 Aug 2018 00:37:54 +0000
(08:37 +0800)
Asset.php
patch
|
blob
|
history
diff --git
a/Asset.php
b/Asset.php
index
d033151
..
503a94e
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-36,11
+36,8
@@
class Pman_Core_Asset extends Pman {
function get($s='', $opts = Array())
{
function get($s='', $opts = Array())
{
- if(
- !empty($_REQUEST['_clear_cache']) &&
- !empty($_REQUEST['_clear_module'])
- ) {
- $this->clearCompiledFilesCache($_REQUEST['_clear_module']);
+ if(!empty($_REQUEST['_clear_cache'])) {
+ $this->clearCompiledFilesCache();
}
}
@@
-167,7
+164,7
@@
class Pman_Core_Asset extends Pman {
return false;
}
return false;
}
- function clearCompiledFilesCache(
$module
)
+ function clearCompiledFilesCache()
{
require_once 'System.php';
$mods = $this->modulesList();
{
require_once 'System.php';
$mods = $this->modulesList();