mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
changed variable names
Changed them to more specified variables, as to not conflict with other possible code.
This commit is contained in:
parent
2e64ba0dd7
commit
584f79408f
@ -243,17 +243,17 @@ class Pastes extends CI_Model
|
|||||||
switch ($RAND_API)
|
switch ($RAND_API)
|
||||||
{
|
{
|
||||||
case "yourls":
|
case "yourls":
|
||||||
$var1 = $this->config->item('yourls_url');
|
$var_yourls_url = $this->config->item('yourls_url');
|
||||||
$var2 = $this->config->item('yourls_signature');
|
$var_yourls_signature = $this->config->item('yourls_signature');
|
||||||
if (!empty($var1) && !empty($var2))
|
if (!empty($var_yourls_url) && !empty($v_yourls_signature))
|
||||||
{
|
{
|
||||||
$url_shortening_api = "yourls";
|
$url_shortening_api = "yourls";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "gwgd":
|
case "gwgd":
|
||||||
case "gw.gd":
|
case "gw.gd":
|
||||||
$var3 = $this->config->item('gwgd_url');
|
$var_gwgd_url = $this->config->item('gwgd_url');
|
||||||
if (!empty($var3))
|
if (!empty($var_gwgd_url))
|
||||||
{
|
{
|
||||||
$url_shortening_api = "gwgd";
|
$url_shortening_api = "gwgd";
|
||||||
}
|
}
|
||||||
@ -261,16 +261,16 @@ class Pastes extends CI_Model
|
|||||||
case "googl":
|
case "googl":
|
||||||
case "google":
|
case "google":
|
||||||
case "goo.gl":
|
case "goo.gl":
|
||||||
$var4 = $this->config->item('googl_url_api');
|
$var_googl_url_api = $this->config->item('googl_url_api');
|
||||||
if (!empty($var4))
|
if (!empty($var_googl_url_api))
|
||||||
{
|
{
|
||||||
$url_shortening_api = "googl";
|
$url_shortening_api = "googl";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "bitly":
|
case "bitly":
|
||||||
case "bit.ly":
|
case "bit.ly":
|
||||||
$var5 = $this->config->item('bitly_url_api');
|
$var_bitly_url_api = $this->config->item('bitly_url_api');
|
||||||
if (!empty($var5))
|
if (!empty($var_bitly_url_api))
|
||||||
{
|
{
|
||||||
$url_shortening_api = "bitly";
|
$url_shortening_api = "bitly";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user