[SUCS Devel] [Git][sucssite/sucs-site][master] Auto add users to printer when they sign up because I hate doign it manualy and …

Imran Hussain imranh at sucs.org
Tue Sep 29 19:57:11 BST 2015


Imran Hussain pushed to branch master at sucssite / sucs-site


Commits:
0345fcb4 by Imran Hussain at 2015-09-29T19:54:57Z
Auto add users to printer when they sign up because I hate doign it manualy and it takes a long time to do it manualy and I make mistakes and peopel complain and stuff.

- - - - -


1 changed file:

- components/signup.php


Changes:

=====================================
components/signup.php
=====================================
--- a/components/signup.php
+++ b/components/signup.php
@@ -338,7 +338,7 @@ if(isset($_REQUEST['signupid'])&&isset($_REQUEST['signuppw'])){
                                 );
                                 $failed=true;
                             }
-
+			exec($script_path.'printeradd.apache '.escapeshellarg($fields['username']);
 		    }
 		    $smarty->assign("failed",$failed);
 		    if($failed){



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/0345fcb4b6d2b32b8a4a12afe7c6dfaf2d501338
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20150929/2c312d75/attachment.html>


More information about the Devel mailing list