Introduce PSR-4 autoloading
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<?php
|
||||
|
||||
use PrivateBin\serversalt;
|
||||
|
||||
error_reporting( E_ALL | E_STRICT );
|
||||
|
||||
// change this, if your php files and data is outside of your webservers document root
|
||||
@@ -7,7 +10,7 @@ if (!defined('PATH')) define('PATH', '..' . DIRECTORY_SEPARATOR);
|
||||
if (!defined('CONF')) define('CONF', PATH . 'cfg' . DIRECTORY_SEPARATOR . 'conf.ini');
|
||||
if (!is_file(CONF)) copy(CONF . '.sample', CONF);
|
||||
|
||||
require PATH . 'lib/auto.php';
|
||||
require PATH . 'vendor/autoload.php';
|
||||
|
||||
class helper
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user