mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
move common.php to includes folder
This commit is contained in:
parent
3719405bd7
commit
47758f08c2
3 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ if (version_compare(PHP_VERSION, '5.4.0') < 0) {
|
|||
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
|
||||
if(!defined('MTTINC')) define('MTTINC', MTTPATH. 'includes/');
|
||||
|
||||
require_once(MTTPATH. 'common.php');
|
||||
require_once(MTTINC. 'common.php');
|
||||
require_once(MTTPATH. 'db/config.php');
|
||||
|
||||
ini_set('display_errors', 'On');
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ else
|
|||
{
|
||||
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
|
||||
if(!defined('MTTINC')) define('MTTINC', MTTPATH. 'includes/');
|
||||
require_once(MTTPATH. 'common.php');
|
||||
require_once(MTTINC. 'common.php');
|
||||
Config::loadConfig($config);
|
||||
unset($config);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue