summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-15 13:53:19 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-20 13:38:38 +0200
commit9fd234f63f2e576c996bed69f2e9972aeff945e8 (patch)
tree8585bade192bf6632c0efb7c4a47598c48683f0c /lib/base.php
parentbeb1c6ad74015a8065d0ee00c6dba24cdc699477 (diff)
downloadnextcloud-server-9fd234f63f2e576c996bed69f2e9972aeff945e8.tar.gz
nextcloud-server-9fd234f63f2e576c996bed69f2e9972aeff945e8.zip
Log some additional events
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 1201e46d542..ef654e916ea 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -444,6 +444,7 @@ class OC {
public static function init() {
// register autoloader
+ $loaderStart = microtime(true);
require_once __DIR__ . '/autoloader.php';
self::$loader = new \OC\Autoloader();
self::$loader->registerPrefix('Doctrine\\Common', 'doctrine/common/lib');
@@ -453,10 +454,12 @@ class OC {
self::$loader->registerPrefix('Patchwork', '3rdparty');
self::$loader->registerPrefix('Pimple', '3rdparty/Pimple');
spl_autoload_register(array(self::$loader, 'load'));
+ $loaderEnd = microtime(true);
// setup the basic server
self::$server = new \OC\Server();
self::initPaths();
+ \OC::$server->getEventLogger()->log('autoloader', 'Autoloader', $loaderStart, $loaderEnd);
\OC::$server->getEventLogger()->start('boot', 'Initialize');
// set some stuff