- Add your project logo.
- Write a short introduction to the project.
- If you are using badges, add them here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!defined("WHMCS")) | |
| die("This file cannot be accessed directly"); | |
| use WHMCS\Database\Capsule; | |
| function wb_mark_zero_invoices_paid(){ | |
| //get all unpaid invoices | |
| $unpaid_invoices = Capsule::table('tblinvoices')->where('status', 'Unpaid')->get(); | |
| foreach( $unpaid_invoices as $inv ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -r .git | |
| git init | |
| (create files) | |
| git add -A | |
| git commit -m 'Initial commit' | |
| git remote add origin <url> | |
| git push --force --set-upstream origin master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| ### | |
| # | |
| # install_mysql.sh | |
| # | |
| # This script assumes your Vagrantfile has been configured to map the root of | |
| # your application to /vagrant and that your web root is the "public" folder | |
| # (Laravel standard). Standard and error output is sent to | |
| # /vagrant/vm_build.log during provisioning. |