Franco Fichtner
dc3ef63c52
mvc: PSR12 for better or worse ;)
2019-11-30 10:04:17 +01:00
Michael Steenbeek
e3de6b2e28
Fix usage of include_once in load_phalcon.php ( #3109 )
...
include_once returns TRUE if the file has already been loaded. This is not what you want if you're setting a variable from it.
http://php.net/manual/en/function.include-once.php
This fixes notices when including certain old scripts from modern controllers, as well as a notice when running run_migrations.php.
2019-01-16 13:01:46 +00:00
Ad Schellevis
7092d3c782
MVC/model migrations, show error message in run_migrations.php when migration fails.
2018-09-27 20:27:08 +02:00
Franco Fichtner
2e98784e5c
mvc: allow to run targeted migration (for plugins)
2017-08-10 13:05:02 +02:00
Franco Fichtner
044d519f43
config: change migration a tiny bit
2017-05-11 13:55:54 +02:00
Franco Fichtner
fb3d5e0bba
mvc: apply new style rule
2016-08-16 04:40:56 +02:00
Franco Fichtner
2c8e35ccd4
mvc: stype/whitespace sweep
2016-08-15 19:07:01 +02:00
Ad Schellevis
d137b214ad
output style for unversioned upgrade in run_migrations.php
2016-08-12 19:08:45 +02:00
Ad Schellevis
e527d539f6
(model, migrations) extend output
2016-08-12 15:35:53 +02:00
Ad Schellevis
a015dd4a7d
change mode for run_migrations.php
2016-08-12 15:23:22 +02:00
Ad Schellevis
73af4392f5
add run_migrations.php
2016-08-12 15:20:41 +02:00
Ad Schellevis
319ae9c4b0
(phalcon / legacy bindings) move script phalcon load to single location, legacy scripts should use legacy_bindings.inc, new should use script/load_phalcon.php
2015-10-26 10:28:41 +00:00
Franco Fichtner
5e5e6c2f27
captive portal: bye bye my love
...
The captive portal is being replaced! This hooks up the
new page into the services section while ditching most of
the old code. There'll be no migration, if you use package
`opnsense-devel' and the captive portal you'll have to switch
to `opnsense' or migrate to the new code. Beware that the
new captive portal is going to be a huge step forward but
features will trickle in week after week until it is stable
enough to merge it. Latest release date is going to be 16.1.
2015-10-15 23:48:23 +02:00
Isaac (.ike) Levy
4dba7e56b2
A human read and cleaned up all inappropriate occurances of 'pfSense' and 'pfsense'., (e.g. this was not an automated find/replace, but instead, a careful pass through the code.)
...
Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
2015-04-12 08:57:41 +02:00
Ad Schellevis
c320911bfe
add library path to phalcon scripting
2015-02-23 16:37:26 +01:00
Franco Fichtner
e40924c66a
mvc: fix a couple of style errors
2015-01-11 10:15:55 +01:00
Franco Fichtner
69b290dd6e
opnsense: apply whitespace changes
...
*runs for cover in fear of Ad's uncommited changes*
2014-12-28 20:02:23 +01:00
Ad Schellevis
a2b765486d
move new classes to comply with PSR1/2 style guides, still a lot todo here...
2014-12-28 12:14:03 +00:00
Ad Schellevis
e5b4cfc70d
rename load_phalcon script
2014-12-09 19:13:07 +01:00
Ad Schellevis
ad6ff2940c
fix inlcude phalcon script
2014-12-09 19:10:22 +01:00
Ad Schellevis
1ed14b29ce
fix phalcon backwards compatibility mode
2014-12-09 18:07:44 +01:00
Ad Schellevis
6f8cea824e
added captive portal model and some plumming for future use
2014-12-09 15:48:03 +01:00