Tag: loop
-
Cron cannot run on Drupal: the drupal_goto() case
Sometimes you want to redirect a page to another on drupal. You can do this using a simple function called drupal_goto(). On few sites I’ve enabled the PHP filter module and then created a new page with PHP code input format with drupal_goto(‘node/2’) to redirect the current page to a specified node. Bad idea. I’ve […]
-
how to mount a CD/DVD image under Linux
How to mount a cd/dvd image under GNU/Linux. I don’t use so frequently this command, so I tend to forget it. # mkdir /media/iso # mount -o loop=/dev/loop0 “/path/to/iso/my_iso.iso” \ /media/iso -t iso9660