Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
776c47f7
Commit
776c47f7
authored
May 30, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
class dependency fix
parent
e1548625
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
Doctrine.php
Doctrine.php
+6
-5
Naming.class.php
Doctrine/Exception/Naming.class.php
+1
-1
Exception.php
Doctrine/Record/Exception.php
+1
-1
Exception.php
Doctrine/Session/Exception.php
+1
-1
Exception.php
Doctrine/Table/Exception.php
+1
-1
No files found.
Doctrine.php
View file @
776c47f7
...
...
@@ -226,7 +226,8 @@ final class Doctrine {
if
(
!
self
::
$path
)
self
::
$path
=
dirname
(
__FILE__
);
$dir
=
dir
(
self
::
$path
);
$path
=
self
::
$path
.
DIRECTORY_SEPARATOR
.
"Doctrine"
;
$dir
=
dir
(
$path
);
$a
=
array
();
while
(
false
!==
(
$entry
=
$dir
->
read
()))
{
switch
(
$entry
)
:
...
...
@@ -243,11 +244,11 @@ final class Doctrine {
case
"DQL"
:
case
"Sensei"
:
case
"Iterator"
:
$a
[]
=
self
::
$path
.
DIRECTORY_SEPARATOR
.
$entry
;
$a
[]
=
$path
.
DIRECTORY_SEPARATOR
.
$entry
;
break
;
default
:
if
(
is_file
(
self
::
$path
.
DIRECTORY_SEPARATOR
.
$entry
)
&&
substr
(
$entry
,
-
4
)
==
".php"
)
{
require_once
(
$entry
);
if
(
is_file
(
$path
.
DIRECTORY_SEPARATOR
.
$entry
)
&&
substr
(
$entry
,
-
4
)
==
".php"
)
{
require_once
(
$
path
.
DIRECTORY_SEPARATOR
.
$
entry
);
}
endswitch
;
}
...
...
Doctrine/Exception/Naming.class.php
View file @
776c47f7
<?php
require_once
(
Doctrine
::
getPath
()
.
DIRECTORY_SEPARATOR
.
"Exception.php"
);
Doctrine
::
autoload
(
'Doctrine_Exception'
);
/**
* thrown when user defined Doctrine_Table is badly named
*/
...
...
Doctrine/Record/Exception.php
View file @
776c47f7
<?php
require_once
(
Doctrine
::
getPath
()
.
DIRECTORY_SEPARATOR
.
"Exception.php"
);
Doctrine
::
autoload
(
'Doctrine_Exception'
);
/**
* thrown when Doctrine_Record is refreshed and the refreshed primary key doens't match the old one
*/
...
...
Doctrine/Session/Exception.php
View file @
776c47f7
<?php
require_once
(
Doctrine
::
getPath
()
.
DIRECTORY_SEPARATOR
.
"Exception.php"
);
Doctrine
::
autoload
(
'Doctrine_Exception'
);
/**
* thrown when user tries to get the current
* session and there are no open sessions
...
...
Doctrine/Table/Exception.php
View file @
776c47f7
<?php
require_once
(
Doctrine
::
getPath
()
.
DIRECTORY_SEPARATOR
.
"Exception.php"
);
Doctrine
::
autoload
(
'Doctrine_Exception'
);
/**
* thrown when user tries to initialize a new instance of Doctrine_Table,
* while there already exists an instance of that table
...
...
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