[SUCS Devel] [Git][sucssite/sucs-site][beta] 2 commits: 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 20:03:02 BST 2015


Imran Hussain pushed to branch beta 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.

- - - - -
2d78cf85 by Imran Hussain at 2015-09-29T20:02:58Z
Merge branch 'master' into 'beta'

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.

See merge request !21

- - - - -


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/compare/aac2527b71a1f0da1e26458a097a6d4781f5e9c3...2d78cf85582eb3557c0dd439e295f350d295895f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20150929/b3d07806/attachment.html>


More information about the Devel mailing list