]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Update "storage" console command
[friendica.git] / index.php
index d4480549d7192ac271499f053fd03b24316cad5b..c2dd31bcf24289362cb4f8e223617b5275c84be1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -5,7 +5,7 @@
  */
 
 use Friendica\App;
-use Friendica\Core\Logger;
+use Friendica\Util\LoggerFactory;
 
 if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
        die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
@@ -13,7 +13,7 @@ if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
 
 require __DIR__ . '/vendor/autoload.php';
 
-$logger = Logger::create('app');
+$logger = LoggerFactory::create('index');
 
 // We assume that the index.php is called by a frontend process
 // The value is set to "true" by default in App