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
dd288f0c
Commit
dd288f0c
authored
Jul 08, 2009
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The include_path isn't altered anymore, hopefully saving some stat calls
git-svn-id:
svn://dwoo.org/dwoo/trunk@267
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
7212c79d
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
20 additions
and
22 deletions
+20
-22
CHANGELOG
CHANGELOG
+2
-1
dwooAutoload.php
lib/dwooAutoload.php
+3
-6
BlockTests.php
tests/BlockTests.php
+1
-1
BugTests.php
tests/BugTests.php
+1
-1
CallTests.php
tests/CallTests.php
+1
-1
CompilerTests.php
tests/CompilerTests.php
+1
-1
CoreTests.php
tests/CoreTests.php
+1
-1
DataTests.php
tests/DataTests.php
+1
-1
FiltersTests.php
tests/FiltersTests.php
+1
-1
FuncTests.php
tests/FuncTests.php
+1
-1
HelperTests.php
tests/HelperTests.php
+1
-1
LoaderTests.php
tests/LoaderTests.php
+1
-1
PluginTypesTests.php
tests/PluginTypesTests.php
+1
-1
SecurityTests.php
tests/SecurityTests.php
+1
-1
SmartyTests.php
tests/SmartyTests.php
+2
-2
TemplateTests.php
tests/TemplateTests.php
+1
-1
No files found.
CHANGELOG
View file @
dd288f0c
...
...
@@ -21,7 +21,8 @@
work with CakePHP 1.2
* Adapters: Zend: Denis Arh is now appointed maintainer of that part and
fixed a few things since 1.0.1
* User classes extending Dwoo_Template_File are now supporter better with
* The include_path isn'
t
altered
anymore
,
hopefully
saving
some
stat
calls
*
User
classes
extending
Dwoo_Template_File
are
now
supported
better
with
regard
to
includes
-
Thanks
to
the
Kayako
.
com
team
for
the
patch
*
Objects
now
act
like
arrays
when
you
access
non
-
existing
properties
on
them
(
i
.
e
.
it
outputs
a
notice
only
if
it
's output straight, and none
...
...
lib/dwooAutoload.php
View file @
dd288f0c
<?php
include
dirname
(
__FILE__
)
.
DIRECTORY_SEPARATOR
.
'Dwoo.php'
;
function
dwooAutoload
(
$class
)
{
if
(
substr
(
$class
,
0
,
5
)
===
'Dwoo_'
)
{
include
strtr
(
$class
,
'_'
,
DIRECTORY_SEPARATOR
)
.
'.php'
;
include
DWOO_DIRECTORY
.
strtr
(
$class
,
'_'
,
DIRECTORY_SEPARATOR
)
.
'.php'
;
}
}
spl_autoload_register
(
'dwooAutoload'
);
set_include_path
(
str_replace
(
PATH_SEPARATOR
.
dirname
(
__FILE__
),
''
,
get_include_path
())
.
PATH_SEPARATOR
.
dirname
(
__FILE__
));
include
'Dwoo.php'
;
\ No newline at end of file
tests/BlockTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
BlockTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/BugTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
BugTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/CallTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
CallTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/CompilerTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
CompilerTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/CoreTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
CoreTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/DataTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
DataTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/FiltersTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
FiltersTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/FuncTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
FuncTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/HelperTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
HelperTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/LoaderTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
LoaderTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/PluginTypesTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
PluginTypesTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/SecurityTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
function
testphpfunc
(
$input
)
{
return
$input
.
'OK'
;
}
...
...
tests/SmartyTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require
'Dwoo/Smarty/Adapter.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
require
DWOO_DIRECTORY
.
'Dwoo/Smarty/Adapter.php'
;
class
SmartyTests
extends
PHPUnit_Framework_TestCase
{
...
...
tests/TemplateTests.php
View file @
dd288f0c
<?php
require_once
'Dwoo/Compiler.php'
;
require_once
DWOO_DIRECTORY
.
'Dwoo/Compiler.php'
;
class
TemplateTests
extends
PHPUnit_Framework_TestCase
{
...
...
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