Commit bc7e727d authored by George Popoff's avatar George Popoff

change all base dirs to cp/

parent 1794ab32
......@@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own.
|
*/
$config['base_url'] = 'http://eterfund.ru/api/typos/new_cp/';
$config['base_url'] = 'http://eterfund.ru/api/typos/cp/';
/*
|--------------------------------------------------------------------------
......
......@@ -19,7 +19,7 @@ class Authorization extends CI_Controller {
function __construct() {
parent::__construct();
$this->data['auth_url'] = $this->config->base_url()."authorization/check";
$this->data['auth_url'] = "/authorization/check";
$this->view_name = 'authorization/index';
$this->load->model('userHelper');
......
var TYPOS = {
base_url: 'http://eterfund.ru/api/typos/new_cp/'
base_url: 'http://eterfund.ru/api/typos/cp/'
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment