Skip to content

Commit

Permalink
FIX: some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
drosanda committed Oct 8, 2020
1 parent eb558a4 commit e4136d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions kero/sine/SENE_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ public function getThemeRightContent(){
echo $this->__themeRightContent;
}
public function getThemeLeftContent(){
//echo '<pre>';
//var_dump($this->__themeLeftContent);
//die('</pre>');
echo $this->__themeLeftContent;
}
public function getJsReady(){
Expand Down Expand Up @@ -651,12 +654,11 @@ public function file($var){
public function debug(){
return array("post_param"=>$_POST,"get_param"=>$_GET,"file_param"=>$_FILES);
}
public function request($var){
public function request($var,$d=0){
if(isset($_REQUEST[$var])){
return $_REQUEST[$var];
}else{
return 0;
return $d;
}
}

}
4 changes: 2 additions & 2 deletions kero/sine/SENE_MySQLi_Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function query($sql,$cache_enabled=0,$flushcache=0,$type="object"){
return $dataz;
}else{
//$this->debug($sql);
trigger_error('Error: '.$this->__mysqli->error.' -- SQL: '.$sql);
//trigger_error('Error: '.$this->__mysqli->error.' -- SQL: '.$sql);
return $this->fieldvalue;
}
}
Expand All @@ -208,7 +208,7 @@ public function query($sql,$cache_enabled=0,$flushcache=0,$type="object"){
return $dataz;
}else{
//$this->debug($sql);
trigger_error('Error: '.$this->__mysqli->error.' -- SQL: '.$sql);
//trigger_error('Error: '.$this->__mysqli->error.' -- SQL: '.$sql);
return $this->fieldvalue;
}
}
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Seme Framework PHP MVC Framework for creating small and medium app that needed f

## Documentation

Read the official [https://seme.framework.web.ids](https://seme.framework.web.ids/). Now only available in English.
Read the official [https://seme.framework.web.id](https://seme.framework.web.id/). Now only available in English.

## Key Feature
This framework suitable for Programmer that only know about Manual way of code. Not like this time, everything build up automatically through console. Seme Framework has taken different way of code, If you want build small app, why we need lots of library. Here is the key feature of Seme Framework:
Expand Down Expand Up @@ -147,7 +147,7 @@ Seme Framework allowing you to create template or layout that consist of separat
```

## More Guides
Look for more guides https://seme.nyingspot.com/ (English) and https://www.nyingspot.com/author/seme_framework/ (Bahasa)
Look for more guides https://seme.framework.web.id/ (English) and https://www.nyingspot.com/author/seme_framework/ (Bahasa)

## License
Seme Framework licensed under MIT License 2.0

0 comments on commit e4136d2

Please sign in to comment.