Skip to content

Commit

Permalink
Hidden direcories.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Blum committed Sep 13, 2012
1 parent 4aacdb9 commit 855c9f2
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 4 deletions.
3 changes: 3 additions & 0 deletions admin/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions controllers/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions js/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions languages/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions utilities/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
9 changes: 5 additions & 4 deletions utilities/xml_rpc.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function hn_ts_SensorDB_XML_RPC(){
*/
function hn_ts_check_user_pass($args){
if(!$this->wpserver->login($args[0], $args[1])){
$this->loginError = $this->loginErrorCode;
$this->loginError = $this->wpserver->error;
}
}

Expand All @@ -71,10 +71,11 @@ function hn_ts_create_measurements($args){
/*(blog_id='', $$measurementType, $minimumvalue, $maximumvalue,
$unit, $unitSymbol, $deviceDetails, $otherInformation, $dataType,
$missing_data_value)*/
$this->hn_ts_check_user_pass($args);
if(NULL != $this->loginError){

if(!$this->hn_ts_check_user_pass($args)){
$err = $this->loginError;
$this->loginError=NULL;
return $this->loginErrorCode;
return $err;
}
else{
return $this->tsdb->hn_ts_addMetadataRecord("",$args[2],$args[3],$args[4],
Expand Down
3 changes: 3 additions & 0 deletions views/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions visualisations/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>
3 changes: 3 additions & 0 deletions widgets/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>

0 comments on commit 855c9f2

Please sign in to comment.