Created
October 19, 2016 12:59
-
-
Save MikSDigital/3aeb730782c6649341c54c9f3940ab77 to your computer and use it in GitHub Desktop.
basic MODX class
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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
class Canonical | |
{ | |
public $modx = null; | |
function __construct(modx &$modx) | |
{ | |
$this->modx = & $modx; | |
$config=array(); | |
} | |
} | |
$link = new Canonical($modx); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment