jwarnier
2010-09-03 be76b0bc27bc6e9478b8be1277a46484c0fc7ab1
server/plugins-available/cron_plugin.inc.php
@@ -133,7 +133,7 @@
         exec("setquota -T -u $username 604800 604800 -a &> /dev/null");
      }
      
      // make temp direcory writable for the apache user and the website user
      // make temp directory writable for the apache and website users
      exec("chmod 777 ".escapeshellcmd($parent_domain["document_root"]."/tmp"));
      
        /** TODO READ CRON MASTER **/
@@ -141,6 +141,7 @@
        $this->parent_domain = $parent_domain;
      $this->_write_crontab();
      
      $this->action = '';
        
   }
   
@@ -198,7 +199,7 @@
                    }
                    
                    $command .= "\t";
                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'];
                    if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
                    $command .= $job['command'];
                }
                
@@ -235,4 +236,4 @@
} // end class
?>
?>