Skip to content

Instantly share code, notes, and snippets.

@nicosomb
Created August 7, 2013 19:46
Show Gist options
  • Save nicosomb/6177822 to your computer and use it in GitHub Desktop.
Save nicosomb/6177822 to your computer and use it in GitHub Desktop.
modifier la fonction public function import($from) par la suivante :
<?php
//...
public function import($from)
{
set_time_limit(0);
if ($from == 'pocket') {
$this->importFromPocket();
}
else if ($from == 'readability') {
$this->importFromReadability();
}
else if ($from == 'instapaper') {
$this->importFromInstapaper();
}
set_time_limit(30);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment