projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a27a5aa
)
sync
author
john
<john@roojs.com>
Wed, 15 Aug 2018 09:21:32 +0000
(17:21 +0800)
committer
john
<john@roojs.com>
Wed, 15 Aug 2018 09:21:32 +0000
(17:21 +0800)
Asset.php
patch
|
blob
|
history
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/Asset.php
b/Asset.php
index
88937fa
..
2b80a92
100644
(file)
--- a/
Asset.php
+++ b/
Asset.php
@@
-55,9
+55,6
@@
class Pman_Core_Asset extends Pman {
$fn = $compile . '/'. $s .'.'. $bits[0];
$fn = $compile . '/'. $s .'.'. $bits[0];
-
-
-
if (!file_exists($fn)) {
header('Content-Type: '. $this->types[$bits[0]]);
if (!file_exists($fn)) {
header('Content-Type: '. $this->types[$bits[0]]);
@@
-65,7
+62,6
@@
class Pman_Core_Asset extends Pman {
exit;
}
exit;
}
-
$supportsGzip = !empty($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip' ) !== false;
$supportsGzip = !empty($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip' ) !== false;
@@
-125,10
+121,10
@@
class Pman_Core_Asset extends Pman {
static function getCompileDir($type)
{
static function getCompileDir($type)
{
- $ui = posix_getpwuid(posix_geteuid());
-
$ff = HTML_FlexyFramework::get();
$ff = HTML_FlexyFramework::get();
+ $ui = posix_getpwuid(posix_geteuid());
+
$compile_dir = session_save_path() . "/";
switch($type) {
$compile_dir = session_save_path() . "/";
switch($type) {
@@
-159,6
+155,8
@@
class Pman_Core_Asset extends Pman {
function clearCompiledFilesCache()
{
function clearCompiledFilesCache()
{
- exit('testing');
+ // using getCompileDir..
+
+ return;
}
}
}
}
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
e2630fa
..
4d142aa
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-215,9
+215,8
@@
class Pman_Core_UpdateDatabase extends Pman
$this->runExtensions();
$this->clearApacheDataobjectsCache();
$this->runExtensions();
$this->clearApacheDataobjectsCache();
-
-
}
}
+
function output() {
echo "\nUpdate Completed SUCCESS\n";
return '';
function output() {
echo "\nUpdate Completed SUCCESS\n";
return '';