Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:47 +09:00
commit d8dab43237
1460 changed files with 134466 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Gotourl class
*/
/**
* 다른 페이지로 이동시 중간에 거쳐가는 controller 입니다.
* admin 페이지에서 외부 페이이지로 이동시 이 페이지를 거쳐가면 referer 가 이 주소로 남기 때문에 admin 주소를 referer 에서 감출 수 있습니다
*/
class Gotourl extends MY_Controller
{
function __construct()
{
parent::__construct();
}
/**
* url 이동 관련 함수입니다
*/
public function index()
{
$url = $this->input->get('url');
if (empty($url)) {
$url = '/';
}
redirect($url, 'refresh');
}
}