mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Storm patrik Fixes
This commit is contained in:
1 parent
57501e2847
commit
2560800efb
10 files changed
+4
-21
No files matched your search
@@ -7,7 +7,7 @@ class Partial{
|
||||
|
||||
function __construct($path = "", $debug = false) {
|
||||
$this->debug = $debug;
|
||||
if (!empty('../app/templates/part/' . $path . '.phtml') && file_exists('../app/templates/part/' . $path . '.phtml')) {
|
||||
if (!empty('../app/views/templates/part/' . $path . '.phtml') && file_exists('../app/views/templates/part/' . $path . '.phtml')) {
|
||||
$this->path = $path;
|
||||
} else {
|
||||
echo '<pre>';
|
||||
@@ -29,6 +29,6 @@ class Partial{
|
||||
extract($this->assignedValues);
|
||||
}
|
||||
|
||||
require('../app/templates/part/' . $this->path . '.phtml');
|
||||
require('../app/views/templates/part/' . $this->path . '.phtml');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user