e_lib 코드들을 composer로 이동

func_http 삭제. guzzle로 대체

php 파일에서 include, require 앞에 있는 구문들을 전부 뒤로 이동.
This commit is contained in:
2018-01-28 21:38:04 +09:00
parent d422c03003
commit 373bcde70b
263 changed files with 22305 additions and 11284 deletions
-1
View File
@@ -1,6 +1,5 @@
<?php
require_once('_common.php');
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_FUNC.W.'class._DB.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
+1
View File
@@ -1,4 +1,5 @@
<?php
require(__dir__.'/../vendor/autoload.php');
class _JSON {
public static function Encode($arr) {
-1
View File
@@ -1,6 +1,5 @@
<?php
require_once('_common.php');
require_once(ROOT.'/f_config/config.php');
class _Lock {
private static $l = ROOT.W.'lock.txt';
+1 -2
View File
@@ -1,7 +1,6 @@
<?php
require_once('_common.php');
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_FUNC.W.'class._DB.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
-1
View File
@@ -1,6 +1,5 @@
<?php
require_once('_common.php');
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_FUNC.W.'class._Lock.php');
class _Process {
+1
View File
@@ -1,4 +1,5 @@
<?php
require(__dir__.'/../vendor/autoload.php');
class _Queue {
private $capacity;
+1
View File
@@ -1,4 +1,5 @@
<?php
require(__dir__.'/../vendor/autoload.php');
class _Session {
public function __construct() {
-1
View File
@@ -1,6 +1,5 @@
<?php
require_once('_common.php');
require_once(ROOT.'/f_config/config.php');
class _Setting {
private $settingFile;
+1
View File
@@ -1,4 +1,5 @@
<?php
require(__dir__.'/../vendor/autoload.php');
class _String {
public static function GetStrLen($str) {
+1
View File
@@ -1,4 +1,5 @@
<?php
require(__dir__.'/../vendor/autoload.php');
class _Time {
public static function DateToday() {
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
require_once(ROOT.W.F_FUNC.W.'class._String.php');
require(__dir__.'/../vendor/autoload.php');
require_once(ROOT.W.F_FUNC.W.'class._String.php');
class _Validation {
public static function CheckID($id) {
$len = strlen($id);
+2
View File
@@ -1,6 +1,8 @@
<?php
require(__dir__.'/../vendor/autoload.php');
function CustomHeader() {
//FIXME: 왜 Contect-Type이 text/html로 고정이지?!
if(!headers_sent()) {
header('Cache-Control: no-cache');
header('Pragma: no-cache');