Ulysses Stuff > Ulysses Release Archives
PUDS v0.2.7 - PayPal-ULX Donation System
benjanmin112:
Btw where did you even use this piece of code.
function __construct($host)
{
$this->trustRoot = (strpos($host, '://') ? $host : 'http://' . $host);
if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')
|| (isset($_SERVER['HTTP_X_FORWARDED_PROTO'])
&& $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
) {
$this->trustRoot = (strpos($host, '://') ? $host : 'https://' . $host);
}
if(($host_end = strpos($this->trustRoot, '/', 8 )) !== false) {
$this->trustRoot = substr($this->trustRoot, 0, $host_end);
}
$uri = rtrim(preg_replace('#((?<=\?)|&)openid\.[^&]+#', '', $_SERVER['REQUEST_URI']), '?');
$this->returnUrl = $this->trustRoot . $uri;
$this->data = ($_SERVER['REQUEST_METHOD'] === 'POST') ? $_POST : $_GET;
if(!function_exists('curl_init') && !in_array('https', stream_get_wrappers())) {
throw new ErrorException('You must have either https wrappers or curl enabled.');
}
}
Neku:
--- Quote from: benjanmin112 on January 14, 2014, 01:11:06 PM ---@Wully616 I got one of my coders to look at these errors in one of the files and he thinks you are doing drugs
--- End quote ---
Nice way to tick off major contributors.
And anyway, if you have coders, tell then to fix it.
It's their job, isn't it?
benjanmin112:
Well yes I have one coder I got for free so he is not the best he can on repair some and stuff so yeah
Neku:
--- Quote from: benjanmin112 on January 14, 2014, 03:13:04 PM ---Well yes I have one coder I got for free so he is not the best he can on repair some and stuff so yeah
--- End quote ---
In that case, he has no right to judge code.
TheSabreSlicer:
Just a few suggestions:
Pointshop integration, so that it can add points.
Add a space between price and currency, I haven't been able to do that by editing code.
That's it for now. Maybe a simple webpage that can grab details from the MySQL database and display them in a list?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version