Skip to content

Commit

Permalink
I totally know what I'm doing.
Browse files Browse the repository at this point in the history
  • Loading branch information
trongate committed Jun 15, 2021
1 parent 78fc72a commit 0551fa0
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 457 deletions.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

//The main config file
define('BASE_URL', 'http://localhost/trongate-framework/');
define('BASE_URL', '');
define('ENV', 'dev');
define('DEFAULT_MODULE', 'welcome');
define('DEFAULT_CONTROLLER', 'Welcome');
Expand Down
3 changes: 1 addition & 2 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
define('HOST', 'localhost');
define('USER', 'root');
define('PASSWORD', '');
define('DATABASE', 'aaadelete');
define('DEBUG', false);
define('DATABASE', '');
4 changes: 0 additions & 4 deletions engine/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,7 @@ function explorer() {
die();
}

<<<<<<< HEAD
$this->module('trongate_security');
=======
$this->module('security');
>>>>>>> 83c72b472e98e44f2274d084f5e5919e6b4656b2
$target_module = segment(3);
$this->_make_sure_table_exists($target_module);
$this->module('trongate_tokens');
Expand Down
10 changes: 1 addition & 9 deletions engine/tg_helpers/form_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,7 @@ function form_file_select($name, $attributes=NULL, $additional_code=NULL) {
return $html;
}

<<<<<<< HEAD
function post($field_name, $clean_up=NULL) {
=======
function input($field_name, $clean_up=NULL) {
>>>>>>> 83c72b472e98e44f2274d084f5e5919e6b4656b2
if (!isset($_POST[$field_name])) {
$value = '';
} else {
Expand All @@ -240,8 +236,4 @@ function input($field_name, $clean_up=NULL) {
}

return $value;
<<<<<<< HEAD
}
=======
}
>>>>>>> 83c72b472e98e44f2274d084f5e5919e6b4656b2
}
22 changes: 0 additions & 22 deletions modules/books/api/controllers/Api.php

This file was deleted.

117 changes: 0 additions & 117 deletions modules/books/assets/api.json

This file was deleted.

104 changes: 0 additions & 104 deletions modules/books/authors/assets/api.json

This file was deleted.

13 changes: 0 additions & 13 deletions modules/books/authors/controllers/Authors.php

This file was deleted.

25 changes: 0 additions & 25 deletions modules/books/controllers/Books.php

This file was deleted.

5 changes: 0 additions & 5 deletions modules/books/views/create.php

This file was deleted.

Loading

0 comments on commit 0551fa0

Please sign in to comment.