_common.php 대신 composer로 대체

This commit is contained in:
2018-04-03 21:15:12 +09:00
parent e0cbf34d43
commit 0c64087c0f
49 changed files with 90 additions and 174 deletions
-10
View File
@@ -1,10 +0,0 @@
<?php
namespace sammo;
if(!defined('ROOT')){
define('ROOT', '..');
}
require_once(ROOT.'/f_config/config.php');
CustomHeader();
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace sammo;
require('_common.php');
require(__dir__.'/../vendor/autoload.php');
+1 -2
View File
@@ -1,8 +1,7 @@
<?php
namespace sammo;
require('_common.php');
require(__dir__.'/../vendor/autoload.php');
session_start();
session_destroy();
+1 -2
View File
@@ -1,8 +1,7 @@
<?php
namespace sammo;
require('_common.php');
require(__dir__.'/../vendor/autoload.php');
function dbConnFail($params){
Json::die([
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
namespace sammo;
require('_common.php');
require(__dir__.'/../vendor/autoload.php');
function dbConnFail($params){
Json::die([