Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
start.php
Go to the documentation of this file.
1 <?php
2 
3 $autoload_root = dirname(__DIR__);
4 if (!is_file("$autoload_root/vendor/autoload.php")) {
5  $autoload_root = dirname(dirname(dirname($autoload_root)));
6 }
7 require_once "$autoload_root/vendor/autoload.php";
8 
10 
11 elgg_deprecated_notice('You should load the core using \Elgg\Application::start() instead of including start.php', "2.0.0");
static start()
Replacement for loading engine/start.php.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition: elgglib.php:1070
$autoload_root
Definition: start.php:3