Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
e9b8c7f4
Commit
e9b8c7f4
authored
Aug 14, 2012
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified autoloading for the examples
parent
2bff4827
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
examples/autoload.php
examples/autoload.php
+0
-6
examples/init.php
examples/init.php
+1
-1
No files found.
examples/autoload.php
deleted
100644 → 0
View file @
2bff4827
<?php
require
(
__DIR__
.
'/../library/Solarium/Autoloader.php'
);
Solarium\Autoloader
::
register
();
require
__DIR__
.
'/../vendor/autoload.php'
;
\ No newline at end of file
examples/init.php
View file @
e9b8c7f4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
error_reporting
(
E_ALL
);
error_reporting
(
E_ALL
);
ini_set
(
'display_errors'
,
true
);
ini_set
(
'display_errors'
,
true
);
require
(
__DIR__
.
'/autoload.php'
)
;
require
__DIR__
.
'/../vendor/autoload.php'
;
if
(
file_exists
(
'config.php'
))
{
if
(
file_exists
(
'config.php'
))
{
require
(
'config.php'
);
require
(
'config.php'
);
...
...
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