@@ -48,7 +48,7 @@ protected static function cleanDir($dir) {
48
48
/**
49
49
* Get the value associated with an option from the Config
50
50
* @param {String} the name of the option to be checked
51
- *
51
+ *
52
52
* @return {String/Boolean} the value of the get or false if it wasn't found
53
53
*/
54
54
public static function getOption ($ optionName = "" ) {
@@ -67,7 +67,7 @@ public static function getOption($optionName = "") {
67
67
68
68
/**
69
69
* Get the options set in the config
70
- *
70
+ *
71
71
* @return {Array} the options from the config
72
72
*/
73
73
public static function getOptions () {
@@ -180,7 +180,6 @@ public static function init($baseDir = "", $verbose = true) {
180
180
// set-up the various dirs
181
181
self ::$ options ["coreDir " ] = is_dir (self ::$ options ["baseDir " ]."_core " ) ? self ::$ options ["baseDir " ]."_core " : self ::$ options ["baseDir " ]."core " ;
182
182
self ::$ options ["exportDir " ] = isset (self ::$ options ["exportDir " ]) ? self ::$ options ["baseDir " ].self ::cleanDir (self ::$ options ["exportDir " ]) : self ::$ options ["baseDir " ]."exports " ;
183
- self ::$ options ["packagesDir " ] = isset (self ::$ options ["packagesDir " ]) ? self ::$ options ["baseDir " ].self ::cleanDir (self ::$ options ["packagesDir " ]) : self ::$ options ["baseDir " ]."packages " ;
184
183
self ::$ options ["publicDir " ] = isset (self ::$ options ["publicDir " ]) ? self ::$ options ["baseDir " ].self ::cleanDir (self ::$ options ["publicDir " ]) : self ::$ options ["baseDir " ]."public " ;
185
184
self ::$ options ["scriptsDir " ] = isset (self ::$ options ["scriptsDir " ]) ? self ::$ options ["baseDir " ].self ::cleanDir (self ::$ options ["scriptsDir " ]) : self ::$ options ["baseDir " ]."scripts " ;
186
185
self ::$ options ["sourceDir " ] = isset (self ::$ options ["sourceDir " ]) ? self ::$ options ["baseDir " ].self ::cleanDir (self ::$ options ["sourceDir " ]) : self ::$ options ["baseDir " ]."source " ;
@@ -214,7 +213,7 @@ public static function init($baseDir = "", $verbose = true) {
214
213
/**
215
214
* Check to see if the given array is an associative array
216
215
* @param {Array} the array to be checked
217
- *
216
+ *
218
217
* @return {Boolean} whether it's an associative array
219
218
*/
220
219
protected static function isAssoc ($ array ) {
@@ -248,7 +247,7 @@ public static function loadOptions($data,$parentKey = "") {
248
247
* Add an option and associated value to the base Config
249
248
* @param {String} the name of the option to be added
250
249
* @param {String} the value of the option to be added
251
- *
250
+ *
252
251
* @return {Boolean} whether the set was successful
253
252
*/
254
253
public static function setOption ($ optionName = "" , $ optionValue = "" ) {
@@ -269,7 +268,7 @@ public static function setOption($optionName = "", $optionValue = "") {
269
268
/**
270
269
* Add an option to the exposedOptions array so it can be exposed on the front-end
271
270
* @param {String} the name of the option to be added to the exposedOption arrays
272
- *
271
+ *
273
272
* @return {Boolean} whether the set was successful
274
273
*/
275
274
public static function setExposedOption ($ optionName = "" ) {
@@ -337,7 +336,7 @@ public static function updateConfigOption($optionName,$optionValue) {
337
336
* Update an option and associated value to the base Config
338
337
* @param {String} the name of the option to be updated
339
338
* @param {String} the value of the option to be updated
340
- *
339
+ *
341
340
* @return {Boolean} whether the update was successful
342
341
*/
343
342
public static function updateOption ($ optionName = "" , $ optionValue = "" ) {
0 commit comments