only shorten >
darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz
This commit is contained in:
parent
a5d0b0ff81
commit
15f780a535
@ -36,7 +36,7 @@ class ShortUrlApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function is_long($url) {
|
private function is_long($url) {
|
||||||
return strlen($url) > 20;
|
return strlen($url) >= 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function http_post($data) {
|
protected function http_post($data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user