projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add cli checks to Php code
[roojs1]
/
buildSDK
/
scss-bootstrap.php
diff --git
a/buildSDK/scss-bootstrap.php
b/buildSDK/scss-bootstrap.php
index
9c3858d
..
022c86c
100644
(file)
--- a/
buildSDK/scss-bootstrap.php
+++ b/
buildSDK/scss-bootstrap.php
@@
-1,5
+1,7
@@
<?php
-
+if (php_sapi_name() != 'cli') {
+ die("CLI ONLY");
+}
$cwd = getcwd();
$cc = explode('/', $cwd);