Subversion Repositories instagram

[/] [cronjobs/] [importImagesFromRemote.php] - Diff between revs 2 and 4

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 2 Rev 4
Line 10... Line 10...
//You could put the import user id in a config file
//You could put the import user id in a config file
 
 
$IGIni = eZINI::instance( 'instagram.ini' );
$IGIni = eZINI::instance( 'instagram.ini' );
 
 
$importUserID =  $IGIni->variable( 'ImportSettings', 'ImportUserID' );
$importUserID =  $IGIni->variable( 'ImportSettings', 'ImportUserID' );
 
 
$user = eZUser::fetch( $importUserID );
$user = eZUser::fetch( $importUserID );
 
 
$db = eZDB::instance();
$db = eZDB::instance();
 
 
$importNodeID = $IGIni->variable( 'ImportSettings', 'ImportNodeID' );
$importNodeID = $IGIni->variable( 'ImportSettings', 'ImportNodeID' );