-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change naming and coding conventions (#1)
* Add empty index.html files to all folders * Add releases folder to gitignore * Rename hook file to comply with naming conventions * Add full name to LICENSE * Make code comply with the PEAR standard
- Loading branch information
Showing
15 changed files
with
56 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.lvimrc | ||
/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<?php | ||
|
||
$lang = array( | ||
); | ||
$lang = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<?php | ||
|
||
$lang = array( | ||
); | ||
$lang = array(); |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
//<?php | ||
|
||
/* To prevent PHP errors (extending class does not exist) revealing path */ | ||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) ) | ||
{ | ||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' ); | ||
exit; | ||
if (!\defined('\IPS\SUITE_UNIQUE_KEY')) { | ||
header((isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0') . ' 403 Forbidden'); | ||
exit; | ||
} | ||
|
||
/** | ||
* 1.0.0 Upgrade Code | ||
*/ | ||
class ips_plugins_setup_upg_10000 | ||
{ | ||
/** | ||
* Step 1 | ||
* | ||
* @return true | ||
*/ | ||
public function step1() | ||
{ | ||
return true; | ||
} | ||
/** | ||
* Step 1 | ||
* | ||
* @return true | ||
*/ | ||
public function step1() | ||
{ | ||
return true; | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
//<?php | ||
|
||
/* To prevent PHP errors (extending class does not exist) revealing path */ | ||
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) ) | ||
{ | ||
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' ); | ||
exit; | ||
if (!\defined('\IPS\SUITE_UNIQUE_KEY')) { | ||
header((isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0') . ' 403 Forbidden'); | ||
exit; | ||
} | ||
|
||
/** | ||
* Install Code | ||
*/ | ||
class ips_plugins_setup_install | ||
{ | ||
/** | ||
* Step 1 | ||
* | ||
* @return true | ||
*/ | ||
public function step1() | ||
{ | ||
return true; | ||
} | ||
/** | ||
* Step 1 | ||
* | ||
* @return true | ||
*/ | ||
public function step1() | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
{"10000":"1.0.0"} | ||
{ | ||
"10000": "1.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
//<?php | ||
|
||
/* To prevent PHP errors (extending class does not exist) revealing path */ | ||
if (!\defined('\IPS\SUITE_UNIQUE_KEY')) { | ||
exit; | ||
} | ||
|
||
class hook77 extends _HOOK_CLASS_ | ||
{ | ||
/** | ||
* Display name | ||
* | ||
* @param array $settings the array with bucket settings | ||
* | ||
* @return string | ||
*/ | ||
public static function displayName($settings) | ||
{ | ||
if (!empty($settings['bucket_path'])) { | ||
$settings['bucket'] .= "/${settings['bucket_path']}"; | ||
} | ||
|
||
return parent::displayName($settings); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.