Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
960fba69
Commit
960fba69
authored
Jun 30, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixes non-existing loader being used
git-svn-id:
svn://dwoo.org/dwoo/trunk@116
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
99ad72d5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Compiler.php
lib/Dwoo/Compiler.php
+5
-5
No files found.
lib/Dwoo/Compiler.php
View file @
960fba69
...
...
@@ -712,19 +712,19 @@ class Dwoo_Compiler implements Dwoo_ICompiler
case
Dwoo
::
BLOCK_PLUGIN
:
case
Dwoo
::
CLASS_PLUGIN
:
$output
.=
"if (class_exists('Dwoo_Plugin_
$plugin
', false)===false)
\n\t\$
this->
loader
->loadPlugin('
$plugin
');
\n
"
;
$output
.=
"if (class_exists('Dwoo_Plugin_
$plugin
', false)===false)
\n\t\$
this->
getLoader()
->loadPlugin('
$plugin
');
\n
"
;
break
;
case
Dwoo
::
FUNC_PLUGIN
:
$output
.=
"if (function_exists('Dwoo_Plugin_
$plugin
')===false)
\n\t\$
this->
loader
->loadPlugin('
$plugin
');
\n
"
;
$output
.=
"if (function_exists('Dwoo_Plugin_
$plugin
')===false)
\n\t\$
this->
getLoader()
->loadPlugin('
$plugin
');
\n
"
;
break
;
case
Dwoo
::
SMARTY_MODIFIER
:
$output
.=
"if (function_exists('smarty_modifier_
$plugin
')===false)
\n\t\$
this->
loader
->loadPlugin('
$plugin
');
\n
"
;
$output
.=
"if (function_exists('smarty_modifier_
$plugin
')===false)
\n\t\$
this->
getLoader()
->loadPlugin('
$plugin
');
\n
"
;
break
;
case
Dwoo
::
SMARTY_FUNCTION
:
$output
.=
"if (function_exists('smarty_function_
$plugin
')===false)
\n\t\$
this->
loader
->loadPlugin('
$plugin
');
\n
"
;
$output
.=
"if (function_exists('smarty_function_
$plugin
')===false)
\n\t\$
this->
getLoader()
->loadPlugin('
$plugin
');
\n
"
;
break
;
case
Dwoo
::
SMARTY_BLOCK
:
$output
.=
"if (function_exists('smarty_block_
$plugin
')===false)
\n\t\$
this->
loader
->loadPlugin('
$plugin
');
\n
"
;
$output
.=
"if (function_exists('smarty_block_
$plugin
')===false)
\n\t\$
this->
getLoader()
->loadPlugin('
$plugin
');
\n
"
;
break
;
default
:
throw
new
Dwoo_Compilation_Exception
(
$this
,
'Type error for '
.
$plugin
.
' with type'
.
$type
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment