projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1baa5af
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:27:28 +0000
(12:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:27:28 +0000
(12:27 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
fd785df
..
77a742a
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-402,7
+402,7
@@
WHERE (
{
static $done = false;
- // only supports pman ?
+ $ff = HTML_FlexyFramework::get();
$lang = $lang ? $lang : $ff->locale;
if (!empty($done[$clsname.':'.$lang])) {
return; // already sent headers and everything.
@@
-425,7
+425,7
@@
WHERE (
$done[$clsname.':'.$lang] = true;
return;
}
- $ff = HTML_FlexyFramework::get();
+
$compileDir = ini_get('session.save_path') .'/' .
$user . '_gettext_' . $ff->project;