First build

This commit is contained in:
2019-06-15 09:08:15 -04:00
parent dee4375d42
commit 04bb722976
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -23,7 +23,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own. | a PHP script and you can easily do that on your own.
| |
*/ */
$config['base_url'] = ''; //$config['base_url'] = '';
$config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@@ -35,7 +36,7 @@ $config['base_url'] = '';
| variable so that it is blank. | variable so that it is blank.
| |
*/ */
$config['index_page'] = 'index.php'; $config['index_page'] = '';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
+1 -1
View File
@@ -49,6 +49,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Examples: my-controller/index -> my_controller/index | Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method | my-controller/my-method -> my_controller/my_method
*/ */
$route['default_controller'] = 'welcome'; $route['default_controller'] = 'startwww';
$route['404_override'] = ''; $route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE; $route['translate_uri_dashes'] = FALSE;
+1 -1
View File
@@ -1,7 +1,7 @@
<?php <?php
defined('BASEPATH') OR exit('No direct script access allowed'); defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller { class Startwww extends CI_Controller {
/** /**
* Index Page for this controller. * Index Page for this controller.