mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7716 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a6de064d49
commit
f7e202d472
1 changed files with 1 additions and 4 deletions
|
|
@ -199,7 +199,6 @@
|
|||
// replace parts not displaying results
|
||||
$buff = preg_replace_callback('/\{\@([^\{\}]+)\}/i', array($this, '_compileVarToSilenceExecute'), $buff);
|
||||
|
||||
|
||||
// prevent from calling directly before writing into file
|
||||
$this->buff = '<?php if(!defined("__ZBXE__")) exit();?>'.$buff;
|
||||
}
|
||||
|
|
@ -349,8 +348,6 @@
|
|||
**/
|
||||
function _replaceCond($buff)
|
||||
{
|
||||
if($this->filename != '_style.list.html') return $buff;
|
||||
|
||||
while(false !== ($pos = strpos($buff, ' cond="')))
|
||||
{
|
||||
$pre = substr($buff,0,$pos);
|
||||
|
|
@ -420,7 +417,7 @@
|
|||
if(substr($target,0,2)=='./') $target = substr($target,2);
|
||||
$pos = strrpos('/',$target);
|
||||
$filename = substr($target,$pos);
|
||||
$path = substr($target,0,$pos);
|
||||
$path = $this->path.substr($target,0,$pos);
|
||||
}
|
||||
|
||||
return sprintf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue