Commit e9b8c7f4 authored by Bas de Nooijer's avatar Bas de Nooijer

Simplified autoloading for the examples

parent 2bff4827
<?php
require(__DIR__.'/../library/Solarium/Autoloader.php');
Solarium\Autoloader::register();
require __DIR__.'/../vendor/autoload.php';
\ No newline at end of file
...@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment